mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-20 12:14:46 +03:00
Updated test for GifImagePlugin.seek()
- Add: Included test for `n_frames` optimization.
This commit is contained in:
parent
5bdd0762f3
commit
18d97bab16
|
@ -277,6 +277,7 @@ def test_seek():
|
||||||
img.seek(img.tell() + 1)
|
img.seek(img.tell() + 1)
|
||||||
except EOFError:
|
except EOFError:
|
||||||
assert frame_count == 5
|
assert frame_count == 5
|
||||||
|
assert img._n_frames == frame_count
|
||||||
|
|
||||||
|
|
||||||
def test_seek_info():
|
def test_seek_info():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user