code: def test_firls_deprecations(self):
      with pytest.deprecated_call(match="argument 'nyq' is deprecated"):
          firls(1, (0, 1), (0, 0), nyq=10)
      with pytest.deprecated_call(match="use keyword arguments"):
          # from test_firls
          firls(11, [0, 0.1, 0.4, 0.5], [1, 1, 0, 0], None)
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_equal, assert_, assert_allclose, assert_warns
  from pytest import raises
  import pytest
  from scipy.fft import fft
  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 5 for calling the TestFirls obj's underlying member method code with example usage: obj.test_firls_deprecations() without return types