code: def test_invalid_inputs(self, _, zoom, mode, raises):
      key = "img"
      for p in TEST_NDARRAYS_ALL:
          with self.assertRaises(raises):
              zoom_fn = Zoomd(key, zoom=zoom, mode=mode)
              zoom_fn({key: p(self.imt[0])})
  
file_path: MONAI/tests/test_zoomd.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from scipy.ndimage import zoom
  from monai.config import USE_COMPILED
  from monai.transforms import Zoomd
  from tests.lazy_transforms_utils import test_resampler_lazy
  from tests.utils import TEST_NDARRAYS_ALL, NumpyImageTestCase2D, assert_allclose, test_local_inversion
label_desc: Use image node_id 3 for calling the TestZoomd obj's underlying member method code with example usage: obj.test_invalid_inputs(_, zoom, mode, raises) without return types