code: def test_lazy_error(self, input_param, input_shape, _):
      with self.assertRaises(ValueError):
          return self.crop_test_pending_ops(input_param, input_shape)
  
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 4 for calling the TestSpatialCrop obj's underlying member method code with example usage: obj.test_lazy_error(input_param, input_shape, _) and returns: self