Source: execnet
Version: 1.4.1-2
Severity: important
This is another test failure from DEP-8, occuring when testing on Python 3.5:
<cut>
testing/test_basics.py::test_stdouterrin_setnull[thread] FAILED
=================================== FAILURES ===================================
_______________________ test_stdouterrin_setnull[thread] _______________________
execmodel = <ExecModel 'thread'>
@pytest.mark.skipif("not hasattr(os, 'dup')")
def test_stdouterrin_setnull(execmodel):
cap = py.io.StdCaptureFD()
gateway_base.init_popen_io(execmodel)
os.write(1, "hello".encode('ascii'))
if os.name == "nt":
os.write(2, "world")
os.read(0, 1)
out, err = cap.reset()
assert not out
> assert not err
E assert not
"/tmp/autopkgtest-virt-lxc.shared._hf0fuxh/downtmp/build.zbb/execnet-1.4.1/testing/test_basics.py:215:
ResourceWarning...file <_io.TextIOWrapper name=1 mode='w' encoding='UTF-8'>\n
setattr(sys, patchsysdict[self.targetfd], self._oldsys)\n"
testing/test_basics.py:222: AssertionError
----------------------------- Captured stderr call -----------------------------
/usr/lib/python3/dist-packages/py/_io/capture.py:77: ResourceWarning: unclosed
file <_io.TextIOWrapper name=0 mode='r' encoding='UTF-8'>
setattr(sys, patchsysdict[self.targetfd], self._oldsys)
============================ pytest-warning summary ============================
WI1
/tmp/autopkgtest-virt-lxc.shared._hf0fuxh/downtmp/build.zbb/execnet-1.4.1/testing/conftest.py:21
'pytest_runtest_setup' hook uses deprecated __multicall__ argument
WC1 None pytest_funcarg__specsocket: declaring fixtures using
"pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest
4.0. Please remove the prefix and use the @pytest.fixture decorator instead.
WC1 None pytest_funcarg__specssh: declaring fixtures using "pytest_funcarg__"
prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove
the prefix and use the @pytest.fixture decorator instead.
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
====== 1 failed, 18 passed, 18 skipped, 3 pytest-warnings in 0.78 seconds ======
</cut>
For the package builds all right, I'm putting this under "important".
Thanks,
DS
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)