code: def test_invalid_inputs(self, zoom, mode, raises):
      for p in TEST_NDARRAYS_ALL:
          with self.assertRaises(raises):
              zoom_fn = Zoom(zoom=zoom, mode=mode)
              zoom_fn(p(self.imt[0]))
  
file_path: MONAI/tests/test_zoom.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from scipy.ndimage import zoom
  from monai.data import MetaTensor, set_track_meta
  from monai.transforms import Zoom
  from monai.transforms.lazy.functional import apply_pending
  from tests.utils import DEFAULT_TEST_AFFINE, TEST_NDARRAYS_ALL, NumpyImageTestCase2D, assert_allclose, test_local_inversion
label_desc: Use image node_id 4 for calling the TestZoom obj's underlying member method code with example usage: obj.test_invalid_inputs(zoom, mode, raises) without return types