docstr: Test firwin2 for calculating Type IV filters
docstr_tok: ["Test","firwin2","for","calculating","Type","IV","filters"]
code: def test05(self, xp, scp):
      """Test firwin2 for calculating Type IV filters"""
      ntaps = 1500
  
      freq = xp.asarray([0.0, 1.0])
      gain = xp.asarray([0.0, 1.0])
      taps = scp.signal.firwin2(
          ntaps, freq, gain, window=None, antisymmetric=True
      )
      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 6 for calling the TestFirwin2 obj's underlying member method code with example usage: obj.test05(xp, scp) and returns: taps