mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Replaced true assert with comment
This commit is contained in:
parent
e8cba27bb1
commit
b8e0daaf70
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user