mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Simplified code
This commit is contained in:
parent
a5f036abf4
commit
5439091355
|
@ -132,8 +132,7 @@ class TestImageSpider(PillowTestCase):
|
|||
def test_nonstack_dos(self):
|
||||
with Image.open(TEST_FILE) as im:
|
||||
for i, frame in enumerate(ImageSequence.Iterator(im)):
|
||||
if i > 1:
|
||||
self.fail("Non-stack DOS file test failed")
|
||||
self.assertLessEqual(i, 1, "Non-stack DOS file test failed")
|
||||
|
||||
# for issue #4093
|
||||
def test_odd_size(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user