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

HTTPRequest: close file uploads to prevent ResourceWarning #1243

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

perrinjerome
Copy link
Contributor

Fixes #1242

…_gets_tempfile

This test was not using a large enough file to use temporary file, but
the test was not really asserting that a temporary file was used.
@perrinjerome perrinjerome merged commit 8c140a3 into master Jan 7, 2025
28 checks passed
@perrinjerome perrinjerome deleted the perrinjerome/close-file-upload branch January 7, 2025 07:26
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.

ResourceWarning after uploading large files
2 participants