code: def testMapCoordinatesErrors(self):
      x = np.arange(5.0)
      c = [np.linspace(0, 5, num=3)]
      with self.assertRaisesRegex(
          NotImplementedError, "requires order<=1"
      ):
          lsp_ndimage.map_coordinates(x, c, order=2)
      with self.assertRaisesRegex(
          NotImplementedError, "does not yet support mode"
      ):
          lsp_ndimage.map_coordinates(x, c, order=1, mode="grid-wrap")
      with self.assertRaisesRegex(ValueError, "sequence of length"):
          lsp_ndimage.map_coordinates(x, [c, c], order=1)
  
file_path: jax/tests/scipy_ndimage_test.py
imports: from functools import partial
  import math
  import numpy
  from absl.testing import absltest
  import scipy.ndimage
  from jax import grad
  from jax._src import test_util
  from jax import dtypes
  from jax.scipy import ndimage
  from jax import config
label_desc: Use image node_id 2 for calling the NdimageTest obj's underlying member method code with example usage: obj.testMapCoordinatesErrors() without return types