Skip to content

Fix unclosed file warning #9065

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

Merged
merged 1 commit into from
Jul 8, 2025
Merged

Conversation

radarhere
Copy link
Member

I've noticed an unclosed file warning - https://github.com/python-pillow/Pillow/actions/runs/15993042615/job/45110055855#step:6:5751

Tests/test_file_libtiff.py::TestFileLibTiff::test_realloc_overflow
:117: ResourceWarning: unclosed file <_io.FileIO name='Tests/images/hopper.ppm' mode='rb' closefd=True>

@hugovk hugovk merged commit 3e5df07 into python-pillow:main Jul 8, 2025
64 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants