code: def test03(self, xp, scp):
      width = 0.02
      ntaps, beta = scp.signal.kaiserord(120, width)
      # ntaps must be odd for positive gain at Nyquist.
      ntaps = int(ntaps) | 1
      freq = xp.asarray([0.0, 0.4, 0.4, 0.5, 0.5, 1.0])
      gain = xp.asarray([1.0, 1.0, 0.0, 0.0, 1.0, 1.0])
      taps = scp.signal.firwin2(
          ntaps, freq, gain, window=("kaiser", beta)
      )
      return taps
  
imports: import cupy
  import cupyx.scipy.signal
  from cupy import testing
  import pytest
  from pytest import raises
label_desc: Use image node_id 4 for calling the TestFirwin2 obj's underlying member method code with example usage: obj.test03(xp, scp) and returns: taps