code: def test_complex(self):
      p = np.poly1d([3j, 2j, 1j])
      p2 = p.integ()
      assert_((p2.coeffs == [1j, 1j, 1j, 0]).all())
      p2 = p.deriv()
      assert_((p2.coeffs == [6j, 2j]).all())
  
imports: import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_almost_equal, assert_array_almost_equal, assert_raises, assert_allclose
  import pytest
label_desc: Use image node_id 11 for calling the TestPolynomial obj's underlying member method code with example usage: obj.test_complex() without return types