Skip to content
#

software

Here are 1,340 public repositories matching this topic...

jku
jku commented Aug 5, 2020

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.

python3 test_updater.py TestUpdater.test_3__update_metadata

will complain "ResourceWarning: unclosed file"

This is not very dangerous but makes it hard to find actual issues in test output (

Improve this page

Add a description, image, and links to the software topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the software topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.