docstr: ...Test array2d interfacing between SWIG and Python
          
docstr_tok: ["...","Test","array2d","interfacing","between","SWIG","and","Python"]
code: def test_array_2d_type_error(self):
      """...Test array2d interfacing between SWIG and Python"""
      for array_type, info in self.correspondence_dict.items():
          extract_function = info["typemap_in_array_2d_not_ol"]
  
          with self.assertRaisesRegex(ValueError, "contiguous"):
              non_contiguous = np.arange(2, 17, dtype="double").reshape(
                  3, 5
              )[::2]
              extract_function(non_contiguous)
  
          with self.assertRaisesRegex(ValueError, "dimensional"):
              extract_function(
                  np.arange(0, 20, dtype="double").reshape(2, 2, 5)
              )
  
imports: import unittest
  import numpy
  from scipy.sparse import csr_matrix
  from tick.array_test.build import array_test
label_desc: Use image node_id 38 for calling the Test obj's underlying member method code with example usage: obj.test_array_2d_type_error() without return types