diff --git a/Tests/test_image_resample.py b/Tests/test_image_resample.py index 98fe3b0f7..96ad93578 100644 --- a/Tests/test_image_resample.py +++ b/Tests/test_image_resample.py @@ -16,8 +16,8 @@ class TestImagingResampleVulnerability(PillowTestCase): def test_invalid_size(self): im = hopper() + # Should not crash im.resize((100, 100)) - self.assertTrue(True, "Should not Crash") with self.assertRaises(ValueError): im.resize((-100, 100))