You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file_object in Updater._get_metadata_file() is left unclosed whenever an exception is raised (when the metadata fails a check of any kind). There are loads of examples in the test suite, e.g.
This is not very dangerous but makes it hard to find actual issues in test output (try running all test_updater.py tests). There may be other sources of this warning but the vast number of warnings from this one make it difficult to find them.
Activity
joshuagl commentedon Aug 7, 2020
Seems like a good place to use
finallyas a clean up handler.joshuagl commentedon Sep 23, 2020
Fixed in #1147