-
-
Notifications
You must be signed in to change notification settings - Fork 221
ResourceWarning: unclosed file <_io.BufferedReader name=8> #305
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
Comments
in 3.1 i set up warnings to errors to iron out a set of internal mistakes i didn't see the error you posted however - what distro is that? |
Debian unstable ; I'm the packager for setuptools_scm and saw it while trying to update the package. |
@SnarkBoojum does the test env mask stuff like the $USER, i recall that masking those env vars might trigger a enquiry to the system dbus (observed that on fedora at least) |
@SnarkBoojum on a unrelated note - its a pleasure to see that debian is one of the few distros that tests against the installed package |
If I run the tests as myself, I see that it happens during the git test:
so it's not just the autopkgtest environment having strange interactions : there is something fishy. |
I ran:
and saw the warning. |
@SnarkBoojum thanks for the investigation, i could reproduce - pr upcoming |
@SnarkBoojum the issue existed since longer, the the switch to failing on warnings just made it more apparent pytest needs a tool for better tracking that as i blatantly missed the message due to green test results |
The testsuite has a small warning when run with Python 3.6.6:
since I didn't see it in 3.0.6, I guess the change is recent...
The text was updated successfully, but these errors were encountered: