mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Test apng repeated seeks 3 times instead of 5.
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
a6051a4045
commit
dc6d7611e9
|
@ -692,9 +692,8 @@ def test_different_modes_in_later_frames(mode, default_image, duplicate, tmp_pat
|
|||
|
||||
|
||||
def test_apng_repeated_seeks_give_correct_info() -> None:
|
||||
# https://github.com/python-pillow/Pillow/issues/7700
|
||||
with Image.open("Tests/images/apng/repeated_seeks_give_correct_info.png") as im:
|
||||
for i in range(5):
|
||||
for i in range(3):
|
||||
im.seek(0)
|
||||
assert im.info["duration"] == 4000
|
||||
im.seek(1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user