code: def test_sweep_poly_const(self, xp, scp):
      p = xp.poly1d(2.0)
      t = xp.linspace(0, 3.0, 10000)
      arr = scp.signal.sweep_poly(t, p)
      return arr
  
imports: import pytest
  import cupy
  from cupy import testing
  import cupyx.scipy.signal
  import numpy
label_desc: Use image node_id 2 for calling the TestSweepPoly obj's underlying member method code with example usage: obj.test_sweep_poly_const(xp, scp) and returns: arr