Bug#986249: python-procrunner: should Build-Conflicts: wget

Yangfl mmyangfl at gmail.com
Thu Apr 1 14:54:27 BST 2021


Package: python-procrunner
Severity: important

==========================================================================
test session starts
==========================================================================
platform linux -- Python 3.9.2, pytest-6.0.2, py-1.10.0, pluggy-0.13.0
rootdir: /home/ding/mips/python-procrunner-1.1.0, configfile: setup.cfg
collected 33 items

tests/test_procrunner.py ............

                    [ 36%]
tests/test_procrunner_resolution.py ..............sss

                    [ 87%]
tests/test_procrunner_system.py ..F.

                    [100%]

===============================================================================
FAILURES ================================================================================
___________________________________________________________________________
test_running_wget
___________________________________________________________________________

tmpdir = local('/tmp/pytest-of-ding/pytest-0/test_running_wget0')

    def test_running_wget(tmpdir):
        tmpdir.chdir()
        command = ["wget", "https://www.google.com", "-O", "-"]
        try:
            result = procrunner.run(command)
        except OSError as e:
            if e.errno == 2:
                pytest.skip("wget not available")
            raise
>       assert result.returncode == 0
E       AssertionError: assert 4 == 0
E        +  where 4 = {'exitcode': 4, 'command': ('wget',
'https://www.google.com', '-O', '-'), 'stdout': b'', 'stderr':
b'--2021-04-01 21:4... False, 'runtime': 0.16795628699765075,
'time_start': '2021-04-01 13:48:11 GMT', 'time_end': '2021-04-01
13:48:11 GMT'}.returncode

/home/ding/mips/python-procrunner-1.1.0/.pybuild/cpython3_3.9_python-procrunner/build/tests/test_procrunner_system.py:52:
AssertionError



More information about the debian-science-maintainers mailing list