code: def test_rank_deficient_3(self):
      # the same test as in scipy.signal
      x = signal.firls(101, [0, 0.01, 0.99, 1], [1, 1, 0, 0])
      w, h = signal.freqz(x, fs=2.0)
  
      mask = w < 0.01
      assert mask.sum() > 3
      testing.assert_allclose(cupy.abs(h[mask]), 1.0, atol=1e-4)
  
      mask = w > 0.99
      assert mask.sum() > 3
      testing.assert_allclose(cupy.abs(h[mask]), 0.0, atol=1e-4)
  
imports: import cupy
  import cupyx.scipy.signal
  from cupy import testing
  import pytest
  from pytest import raises
label_desc: Use image node_id 9 for calling the TestFirls obj's underlying member method code with example usage: obj.test_rank_deficient_3() without return types