code: def test_check_1d_array(self):
      with self.assertRaises(TypeError):
          a = cupy.zeros((2, 2))
          scan(a)
  
file_path: cupy/tests/cupy_tests/core_tests/test_scan.py
imports: import unittest
  import cupy
  from cupy import cuda
  from cupy._core._routines_math import _scan_for_test
  from cupy import testing
label_desc: Use image node_id 2 for calling the TestScan obj's underlying member method code with example usage: obj.test_check_1d_array() without return types