code: def test_poly_eq(self):
      p = np.poly1d([1, 2, 3])
      p2 = np.poly1d([1, 2, 4])
      assert_equal(p == None, False)
      assert_equal(p != None, True)
      assert_equal(p == p, True)
      assert_equal(p == p2, False)
      assert_equal(p != p2, True)
  
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 16 for calling the TestPolynomial obj's underlying member method code with example usage: obj.test_poly_eq() without return types