Skip to content

Conversation

Rogdham
Copy link
Contributor

@Rogdham Rogdham commented Aug 23, 2025

Some ZipFile instances were not closed in tests.

I tried to stick to the style of the tests around, to decide between using a context manager and calling .close() manually. Tell me if you want some to be changed.

See the issue for more information. I am unsure if this should be backported to 3.14 or even earlier, given the fact that it's only tests and impact has been seen only when running with PyPy.

@emmatyping
Copy link
Member

Sorry, I'll try to get to reviewing this tomorrow, been a hectic week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants