code: def test_fs_nyq(self):
      taps1 = firwin2(80, [0.0, 0.5, 1.0], [1.0, 1.0, 0.0])
      taps2 = firwin2(80, [0.0, 30.0, 60.0], [1.0, 1.0, 0.0], fs=120.0)
      assert_array_almost_equal(taps1, taps2)
      taps2 = firwin2(80, [0.0, 30.0, 60.0], [1.0, 1.0, 0.0], nyq=60.0)
      assert_array_almost_equal(taps1, taps2)
  
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_equal, assert_, assert_allclose, assert_warns
  from pytest import raises
  from scipy.special import sinc
  from scipy.signal import kaiser_beta, kaiser_atten, kaiserord, firwin, firwin2, freqz, remez, firls, minimum_phase
label_desc: Use image node_id 8 for calling the TestFirwin2 obj's underlying member method code with example usage: obj.test_fs_nyq() without return types