Skip to content

Commit

Permalink
Merge pull request #8668 from radarhere/spider_test
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jan 8, 2025
2 parents b69f204 + f36c667 commit bd4fd58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/test_file_spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import pytest

from PIL import Image, ImageSequence, SpiderImagePlugin
from PIL import Image, SpiderImagePlugin

from .helper import assert_image_equal, hopper, is_pypy

Expand Down Expand Up @@ -153,8 +153,8 @@ def test_nonstack_file() -> None:

def test_nonstack_dos() -> None:
with Image.open(TEST_FILE) as im:
for i, frame in enumerate(ImageSequence.Iterator(im)):
assert i <= 1, "Non-stack DOS file test failed"
with pytest.raises(EOFError):
im.seek(0)


# for issue #4093
Expand Down

0 comments on commit bd4fd58

Please sign in to comment.