Give apng repeated seeks test and image a more descriptive name.

This commit is contained in:
Erik Soma 2024-01-08 15:18:49 -05:00
parent 3515f997ce
commit a844871c5e
2 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 233 B

After

Width:  |  Height:  |  Size: 233 B

View File

@ -691,9 +691,9 @@ def test_different_modes_in_later_frames(mode, default_image, duplicate, tmp_pat
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
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):
im.seek(0)
assert im.info["duration"] == 4000.0