code: def test_no_2d_resampling_properties(self):
      data_param = {
          "mr": {
              "path_to_search": IMAGE_PATH_2D,
              "csv_file": "2d_test.csv",
              "filename_contains": "_u",
              "pixdim": (2, 2, 2),
              "axcodes": "RAS",
          }
      }
      reader = ImageReader().initialise(data_param)
      self.assertEqual(
          reader.output_list[0]["mr"].output_pixdim, ((2.0, 2.0, 2.0),)
      )
      self.assertEqual(
          reader.output_list[0]["mr"].output_axcodes, (("R", "A", "S"),)
      )
      idx, data, interp = reader()
  
      # test output
      self.assertTrue("mr" in data)
      self.assertTrue(idx in range(len(reader.output_list)))
      self.assertDictEqual(interp, {"mr": (1,)})
      self.assertEqual(data["mr"].shape, (100, 100, 1, 1, 3))
  
imports: from __future__ import absolute_import, print_function
  import os
  from PIL import Image
  import nibabel
  import numpy
  import tensorflow
  from niftynet.io.image_reader import ImageReader
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 1 for calling the Read2D_colorTest obj's underlying member method code with example usage: obj.test_no_2d_resampling_properties() without return types