docstr: Regression test for gh-5096.
docstr_tok: ["Regression","test","for","gh-5096","."]
code: def test_poly_int_overflow(self):
      """
      Regression test for gh-5096.
      """
      v = np.arange(1, 21)
      assert_almost_equal(np.poly(v), np.poly(np.diag(v)))
  
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 14 for calling the TestPolynomial obj's underlying member method code with example usage: obj.test_poly_int_overflow() without return types