code: def test_bad_args(self):
      # not enough taps
      assert_raises(ValueError, signal.minimum_phase, cupy.array([1.0]))
      assert_raises(
          ValueError, signal.minimum_phase, cupy.array([1.0, 1.0])
      )
      assert_raises(ValueError, signal.minimum_phase, cupy.full(10, 1j))
      assert_raises(
          (AttributeError, ValueError), signal.minimum_phase, "foo"
      )
      assert_raises(
          ValueError, signal.minimum_phase, cupy.ones(10), n_fft=8
      )
      assert_raises(
          ValueError, signal.minimum_phase, cupy.ones(10), method="foo"
      )
  
imports: import cupy
  import cupyx.scipy.signal
  from cupy import testing
  import pytest
  from pytest import raises
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