code: def test_read_list(
      self, data_shape, filenames, expected_shape, dtype
  ):
      test_image = np.random.rand(*data_shape).astype(dtype)
      with tempfile.TemporaryDirectory() as tempdir:
          for i, filename in enumerate(filenames):
              filenames[i] = os.path.join(tempdir, filename)
              nrrd.write(filenames[i], test_image.astype(dtype))
          reader = NrrdReader()
          results = reader.read(filenames)
      for result in results:
          self.assertTupleEqual(result.array.shape, expected_shape)
          self.assertTupleEqual(
              tuple(result.header["sizes"]), expected_shape
          )
          np.testing.assert_allclose(result.array, test_image)
  
file_path: MONAI/tests/test_nrrd_reader.py
imports: from __future__ import annotations
  import os
  import tempfile
  import unittest
  from unittest.case import skipUnless
  import numpy
  from parameterized import parameterized
  from monai.data import NrrdReader
  from monai.utils.module import optional_import
label_desc: Use image node_id 4 for calling the TestNrrdReader obj's underlying member method code with example usage: obj.test_read_list(data_shape, filenames, expected_shape, dtype) without return types