code: def test_remez_deprecations(self):
      with pytest.deprecated_call(
          match="'remez' keyword argument 'Hz'"
      ):
          remez(12, [0, 0.3, 0.5, 1], [1, 0], Hz=2.0)
      with pytest.deprecated_call(match="use keyword arguments"):
          # from test_hilbert
          remez(11, [0.1, 0.4], [1], 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 4 for calling the TestRemez obj's underlying member method code with example usage: obj.test_remez_deprecations() without return types