Skip to content

Test that n_frames and is_animated do not change GIF#6080

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:gif_test
Feb 23, 2022
Merged

Test that n_frames and is_animated do not change GIF#6080
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:gif_test

Conversation

@radarhere
Copy link
Copy Markdown
Member

Requested in #6075 (comment)

That PR proposed changes that could result in the image incorrectly changing after the user called n_frames or is_animated. While our test suite did detect a problem, test_file_gif specifically did not.

This adds a test to fix that.

@hugovk hugovk merged commit b3599de into python-pillow:main Feb 23, 2022
@radarhere radarhere deleted the gif_test branch February 23, 2022 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants