diff options
author | Alan Rominger <arominge@redhat.com> | 2024-11-11 16:09:17 +0100 |
---|---|---|
committer | Alan Rominger <arominge@redhat.com> | 2024-11-25 20:01:21 +0100 |
commit | 789a43077fbb5d8059000106d437f7275b7b398a (patch) | |
tree | 0de3789d6c16fe522ec64f6b6d8a46eac7cc7e55 /pytest.ini | |
parent | 🧪 Make pytest notify us about future warnings (diff) | |
download | awx-789a43077fbb5d8059000106d437f7275b7b398a.tar.xz awx-789a43077fbb5d8059000106d437f7275b7b398a.zip |
Address unclosed fd warnings
Diffstat (limited to 'pytest.ini')
-rw-r--r-- | pytest.ini | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pytest.ini b/pytest.ini index a8d237c88d..223145085d 100644 --- a/pytest.ini +++ b/pytest.ini @@ -84,21 +84,6 @@ filterwarnings = # FIXME: descriptors and then delete the entry. once:unclosed file <_io.TextIOWrapper name='[^']+' mode='r' encoding='UTF-8'>:ResourceWarning:awx.main.tests.unit.test_tasks - # FIXME: Use `open()` via a context manager - # FIXME: in `awx/main/tests/unit/test_tasks.py` to close hanging file - # FIXME: descriptors and then delete the entry. - once:unclosed file <_io.BufferedReader name='[^']+'>:ResourceWarning:awx.main.tests.unit.test_tasks - - # FIXME: Use `open()` via a context manager - # FIXME: in `awx/main/tests/unit/test_tasks.py` to close hanging file - # FIXME: descriptors and then delete the entry. - once:unclosed file <_io.TextIOWrapper name='[^']+' mode='r' encoding='UTF-8'>:ResourceWarning:_pytest.python - - # FIXME: Use `open()` via a context manager - # FIXME: in `awx/main/utils/common.py` to close hanging file descriptors - # FIXME: and then delete the entry. - once:unclosed file <_io.BufferedWriter name='[^']+'>:ResourceWarning:awx.main.utils.common - # https://docs.pytest.org/en/stable/usage.html#creating-junitxml-format-files junit_duration_report = call # xunit1 contains more metadata than xunit2 so it's better for CI UIs: |