code: def test_bad_args(self):
      # not enough taps
      assert_raises(ValueError, minimum_phase, [1.0])
      assert_raises(ValueError, minimum_phase, [1.0, 1.0])
      assert_raises(ValueError, minimum_phase, np.full(10, 1j))
      assert_raises(ValueError, minimum_phase, "foo")
      assert_raises(ValueError, minimum_phase, np.ones(10), n_fft=8)
      assert_raises(
          ValueError, minimum_phase, np.ones(10), method="foo"
      )
      assert_warns(RuntimeWarning, minimum_phase, np.arange(3))
  
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 1 for calling the TestMinimumPhase obj's underlying member method code with example usage: obj.test_bad_args() without return types