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

Close file after reading in ImagePalette.load() #2215

Merged
merged 1 commit into from
Nov 14, 2016
Merged

Close file after reading in ImagePalette.load() #2215

merged 1 commit into from
Nov 14, 2016

Conversation

jdufresne
Copy link
Contributor

Fixes some "ResourceWarning: unclosed file ..." when running tests with warnings enabled.

Fixes some "ResourceWarning: unclosed file ..." when running tests with
warnings enabled.
@wiredfool wiredfool merged commit 2a74940 into python-pillow:master Nov 14, 2016
@jdufresne jdufresne deleted the img-palette-close branch November 15, 2016 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants