Open mgorny opened 1 year ago
Hmm, it seems that after patching pytest, it's now failing due to a problem in py
:
E and: 'test_xfail.py::test_function'
E and: ' /usr/lib/python3.12/site-packages/py/_process/forkedfunc.py:45: DeprecationWarning: This process (pid=66) is multi-threaded, use of fork() may lead to deadlocks in the child.'
E and: ' pid = os.fork()'
The warnings will be fixed by https://github.com/pytest-dev/pytest/pull/10894.
The warnings will be fixed by pytest-dev/pytest#10894.
This doesn't fix the warning from py.process.ForkedFunc()
.
While technically the "problem" is in pytest itself, I think it'd be better if the test suite would be more resilient to warnings that don't affect the result.