mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-06 21:03:18 +03:00
Give apng repeated seeks test and image a more descriptive name.
This commit is contained in:
parent
3515f997ce
commit
a844871c5e
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 233 B |
|
@ -691,9 +691,9 @@ def test_different_modes_in_later_frames(mode, default_image, duplicate, tmp_pat
|
||||||
assert reloaded.mode == mode
|
assert reloaded.mode == mode
|
||||||
|
|
||||||
|
|
||||||
def test_apng_issue_7700():
|
def test_apng_repeated_seeks_give_correct_info():
|
||||||
# https://github.com/python-pillow/Pillow/issues/7700
|
# https://github.com/python-pillow/Pillow/issues/7700
|
||||||
with Image.open("Tests/images/apng/issue_7700.png") as im:
|
with Image.open("Tests/images/apng/repeated_seeks_give_correct_info.png") as im:
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
im.seek(0)
|
im.seek(0)
|
||||||
assert im.info["duration"] == 4000.0
|
assert im.info["duration"] == 4000.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user