code: def test_input_modyfication(self):
      freq1 = cupy.array([0.0, 0.5, 0.5, 1.0])
      freq2 = cupy.array(freq1, copy=True)
      signal.firwin2(80, freq1, cupy.array([1.0, 1.0, 0.0, 0.0]))
      assert (freq1 == freq2).all()
  
imports: import cupy
  import cupyx.scipy.signal
  from cupy import testing
  import pytest
  from pytest import raises
label_desc: Use image node_id 10 for calling the TestFirwin2 obj's underlying member method code with example usage: obj.test_input_modyfication() without return types