Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test that n_frames and is_animated do not change GIF #6080

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

radarhere
Copy link
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.

None yet

2 participants