Replaced true assert with comment

This commit is contained in:
Andrew Murray 2017-06-03 14:05:24 +10:00
parent e8cba27bb1
commit b8e0daaf70

View File

@ -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))