Hi,

On Tue, 27 Dec 2016 14:11:17 +0100 Daniel Stender <[email protected]> 
wrote:
> 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".

This resemble upstream issue #31 [1] tagged as minor.

[1] 
https://bitbucket.org/hpk42/execnet/issues/31/test-failure-with-enabled-warnings

Regards,

_g.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to