code: def test_bad_args(self, mod):
      xp, scp = mod
      x = xp.arange(12)
  
      with pytest.raises(TypeError):
          scp.signal.decimate(x, q=0.5, n=1)
  
      with pytest.raises(TypeError):
          scp.signal.decimate(x, q=2, n=0.5)
  
imports: import cupy
  from cupy import testing
  import cupyx.scipy.signal
  import cupyx.scipy.signal.windows
  import numpy
  import pytest
  from math import gcd
label_desc: Use image node_id 1 for calling the TestDecimate obj's underlying member method code with example usage: obj.test_bad_args(mod) without return types