mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-14 05:32:17 +00:00
tempfile.NamedTemporaryFile keeps a file handle causing os.rename() to fail with windows based vboxfs: [Errno 26] Text file busy. Changed NamedTemporaryFile to mkstemp() and added a finally block to unlink the temp file in each and every case. |
||
|---|---|---|
| .. | ||
| basic | ||
| __init__.py | ||
| test_basic.py | ||
| test_database.py | ||
| test_distribution_version.py | ||
| test_facts.py | ||