code: def test_ill_input(self):
      new_shape = (20, 15, 1)
      self.run_test(new_shape, new_shape[:2], False)
  
      new_shape = (20, 20)
      with self.assertRaisesRegexp(AssertionError, ""):
          self.run_test(new_shape, new_shape[:2], True)
  
file_path: NiftyNet/tests/linear_resize_test.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.layer.linear_resize import LinearResizeLayer
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 9 for calling the LinearResizeTest obj's underlying member method code with example usage: obj.test_ill_input() without return types