MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / test_error

Method test_error

tests/transforms/test_spatial_crop.py:63–65  ·  view source on GitHub ↗
(self, input_param)

Source from the content-addressed store, hash-verified

61
62 @parameterized.expand(TEST_ERRORS)
63 def test_error(self, input_param):
64 with self.assertRaises(ValueError):
65 SpatialCrop(**input_param)
66
67 @parameterized.expand(TESTS)
68 def test_pending_ops(self, input_param, input_shape, _):

Callers

nothing calls this directly

Calls 1

SpatialCropClass · 0.90

Tested by

no test coverage detected