DEP8 fixes for lsof
Add allow-stderr
restriction to the unitest-3 test. lsof -v
is called at the beginning of the test, and it prints the
version information to stderr.
Furthermore, there is a known FD leak in test_assertion.py that also sends text to stderr. """ ***** 6 FD leakage detected *** function testing/test_assertion.py:1455: test_exception_handling_no_traceback See issue #2366 """
Upstream changed lsof errors to warnings in https://github.com/nicoddemus/pytest/commit/d9a2e70155a85e769d32a1e1fbe7e655203e9575