code: def test_ill_cases(self):
      with self.assertRaisesRegexp(ValueError, ""):
          ImageWindow.from_data_reader_properties(
              **get_ill_image_window()
          )
  
      with self.assertRaisesRegexp(ValueError, ""):
          ImageWindow.from_data_reader_properties(
              **get_ill_image_window_1()
          )
  
      with self.assertRaisesRegexp(ValueError, ""):
          ImageWindow.from_data_reader_properties(
              **get_ill_image_window_2()
          )
  
file_path: NiftyNet/tests/image_window_test.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.engine.image_window import ImageWindow
  from niftynet.utilities.util_common import ParserNamespace
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 2 for calling the ImageWindowTest obj's underlying member method code with example usage: obj.test_ill_cases() without return types