Skip to content

Commit

Permalink
auto updates (Project-MONAI#7495)
Browse files Browse the repository at this point in the history
Signed-off-by: monai-bot <[email protected]>

Signed-off-by: monai-bot <[email protected]>
  • Loading branch information
monai-bot authored Feb 26, 2024
1 parent f6f9e81 commit 20512d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_resize.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@


class TestResize(NumpyImageTestCase2D):

def test_invalid_inputs(self):
with self.assertRaises(ValueError):
resize = Resize(spatial_size=(128, 128, 3), mode="order")
Expand Down
1 change: 1 addition & 0 deletions tests/test_resized.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@

@SkipIfAtLeastPyTorchVersion((2, 2, 0)) # https://github.com/Project-MONAI/MONAI/issues/7445
class TestResized(NumpyImageTestCase2D):

def test_invalid_inputs(self):
with self.assertRaises(ValueError):
resize = Resized(keys="img", spatial_size=(128, 128, 3), mode="order")
Expand Down

0 comments on commit 20512d3

Please sign in to comment.