code: def test_error(self, input_param):
      with self.assertRaises(ValueError):
          SpatialCrop(**input_param)
  
file_path: MONAI/tests/test_spatial_crop.py
imports: from __future__ import annotations
  import unittest
  from parameterized import parameterized
  from monai.transforms import CenterScaleCrop, CenterSpatialCrop, SpatialCrop
  from tests.croppers import CropTest
label_desc: Use image node_id 2 for calling the TestSpatialCrop obj's underlying member method code with example usage: obj.test_error(input_param) without return types