code: def test_unpack_invalid_array(self):
      a = cupy.array([10, 20, 30])
      pytest.raises(TypeError, cupy.unpackbits, a)
      pytest.raises(TypeError, cupy.unpackbits, a.astype(float))
  
file_path: cupy/tests/cupy_tests/binary_tests/test_packing.py
imports: import numpy
  import unittest
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 9 for calling the TestPacking obj's underlying member method code with example usage: obj.test_unpack_invalid_array() without return types