mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Close file before returning Resolves /home/alancoding/repos/tower-qa/tests/lib/plugins/pytest_restqa/plugin.py:122: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/alancoding/repos/tower-qa/scripts/resource_loading/data_latest_loading.yml' mode='r' encoding='UTF-8'> qe_config.resources = PseudoNamespace(yaml_file.load_file(config.option.resource_file)) We have this same pattern earlier in the file. Reviewed-by: Shane McDonald <me@shanemcd.com>