Closed imphil closed 2 years ago
Running the test suite reports that a file descriptor isn't closed.
tests/test_coverage/coverage_test.py:274: ResourceWarning: unclosed file <_io.TextIOWrapper name='test_yaml_export_output.yml' mode='r' encoding='UTF-8'> yml_db = yaml.safe_load(open(yml_filename, 'r'))
Ensure the file is closed by using a context manager.
Thanks @imphil You want a new release with this change?
Oh no, no need for an immediate release. (I also have a couple other fixes upcoming.)
Running the test suite reports that a file descriptor isn't closed.
Ensure the file is closed by using a context manager.