We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As part of #552, the way that test data is loaded was modified and no longer uses a context manager for the file open operation.
open
We aren't closing the resulting files automatically, and this can cause some noisy ResourceWarning messages to be produced when unit tests run.
ResourceWarning
(note: these seem to be suppressed by unittest-parallel, so we don't see them in our GitHub Actions console output)
unittest-parallel
It'd be good to ensure that the files are closed correctly to remove this noise.
The text was updated successfully, but these errors were encountered:
Re-introduce use of a file open contextmanager during unit test data …
1cc7bc6
…loading to avoid noisy ResourceWarning output when running unit tests with python -m unittest Fixes #608
442a035
…loading to avoid noisy ResourceWarning output when running unit tests with python -m unittest (#609) Fixes #608
Successfully merging a pull request may close this issue.
As part of #552, the way that test data is loaded was modified and no longer uses a context manager for the file
open
operation.We aren't closing the resulting files automatically, and this can cause some noisy
ResourceWarning
messages to be produced when unit tests run.(note: these seem to be suppressed by
unittest-parallel
, so we don't see them in our GitHub Actions console output)It'd be good to ensure that the files are closed correctly to remove this noise.
The text was updated successfully, but these errors were encountered: