code: def test_objects(self):
      from decimal import Decimal
  
      p = np.poly1d([Decimal("4.0"), Decimal("3.0"), Decimal("2.0")])
      p2 = p * Decimal("1.333333333333333")
      assert_(p2[1] == Decimal("3.9999999999999990"))
      p2 = p.deriv()
      assert_(p2[1] == Decimal("8.0"))
      p2 = p.integ()
      assert_(p2[3] == Decimal("1.333333333333333333333333333"))
      assert_(p2[2] == Decimal("1.5"))
      assert_(np.issubdtype(p2.coeffs.dtype, np.object_))
      p = np.poly([Decimal(1), Decimal(2)])
      assert_equal(
          np.poly([Decimal(1), Decimal(2)]),
          [1, Decimal(-3), Decimal(2)],
      )
  
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 10 for calling the TestPolynomial obj's underlying member method code with example usage: obj.test_objects() without return types