Skip to content

Commit

Permalink
Improved test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 7, 2025
1 parent 128f3f4 commit 38d57b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_file_spider.py
Original file line number Diff line number Diff line change
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 38d57b6

Please sign in to comment.