mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
Address unclosed fd warnings
This commit is contained in:
15
pytest.ini
15
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:
|
||||
|
||||
Reference in New Issue
Block a user