[Python-modules-team] Bug#915888: pytest-pylint FTBFS with pytest 3.10.1-1

Adrian Bunk bunk at debian.org
Fri Dec 7 16:38:33 GMT 2018


Source: pytest-pylint
Version: 0.12.3-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pytest-pylint.html

...
=================================== FAILURES ===================================
__________________________________ test_basic __________________________________

testdir = <Testdir local('/tmp/pytest-of-pbuilder1/pytest-0/test_basic0')>

    def test_basic(testdir):
        """Verify basic pylint checks"""
        testdir.makepyfile("""import sys""")
        result = testdir.runpytest('--pylint')
        assert 'Missing module docstring' in result.stdout.str()
        assert 'Unused import sys' in result.stdout.str()
        assert 'Final newline missing' in result.stdout.str()
>       assert 'passed' not in result.stdout.str()
E       AssertionError: assert 'passed' not in '============================= test session starts ==============================\nplatform linux2 -- Python 2.7.15+, p...s.pytest.org/en/latest/warnings.html\n==================== 1 failed, 17 warnings in 0.67 seconds =====================\n'
E        +  where '============================= test session starts ==============================\nplatform linux2 -- Python 2.7.15+, p...s.pytest.org/en/latest/warnings.html\n==================== 1 failed, 17 warnings in 0.67 seconds =====================\n' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher object at 0x7f45db0e9250>>()
E        +    where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher object at 0x7f45db0e9250>> = <_pytest.pytester.LineMatcher object at 0x7f45db0e9250>.str
E        +      where <_pytest.pytester.LineMatcher object at 0x7f45db0e9250> = <_pytest.pytester.RunResult object at 0x7f45db0e91d0>.stdout

/build/1st/pytest-pylint-0.12.3/test_pytest_pylint.py:18: AssertionError
...
=============== 1 failed, 3 passed, 25 warnings in 43.48 seconds ===============
E: pybuild pybuild:338: test: plugin custom failed with: exit code=1: python2.7 -m pytest -v -x --ignore debian
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
make[1]: *** [debian/rules:13: override_dh_auto_install] Error 25



More information about the Python-modules-team mailing list