Source: pylint
Version: 1.7.4-2
Severity: serious

Some recent change in unstable makes pylint FTBFS:

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

...
=================================== FAILURES ===================================
 
test_functionality[func_noerror_decorator_scope.py-/build/1st/pylint-1.7.4/pylint/test/messages/func_noerror_decorator_scope.txt-dependencies1]
 

module_file = 'func_noerror_decorator_scope.py'
messages_file = 
'/build/1st/pylint-1.7.4/pylint/test/messages/func_noerror_decorator_scope.txt'
dependencies = []

    @pytest.mark.parametrize("module_file,messages_file,dependencies", 
gen_tests(FILTER_RGX))
    def test_functionality(module_file, messages_file, dependencies):
    
        LT = LintTestUpdate() if UPDATE else LintTestUsingModule()
    
        LT.module = module_file.replace('.py', '')
        LT.output = messages_file
        LT.depends = dependencies or None
        LT.INPUT_DIR = INPUT_DIR
>       LT._test_functionality()

pylint/test/test_func.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pylint/testutils.py:287: in _test_functionality
    self._test(tocheck)
pylint/testutils.py:306: in _test
    self._check_result(self.linter.reporter.finalize())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pylint.testutils.LintTestUsingModule object at 0x7f43a6915da0>
got = "W: 11:Test: Unused variable '__class__'\n"

    def _check_result(self, got):
>       assert self._get_expected().strip()+'\n' == got.strip()+'\n'
E       AssertionError

pylint/testutils.py:290: AssertionError
 
test_functionality[func_noerror_classes_meth_could_be_a_function.py-/build/1st/pylint-1.7.4/pylint/test/messages/func_noerror_classes_meth_could_be_a_function.txt-dependencies2]
 

module_file = 'func_noerror_classes_meth_could_be_a_function.py'
messages_file = 
'/build/1st/pylint-1.7.4/pylint/test/messages/func_noerror_classes_meth_could_be_a_function.txt'
dependencies = []

    @pytest.mark.parametrize("module_file,messages_file,dependencies", 
gen_tests(FILTER_RGX))
    def test_functionality(module_file, messages_file, dependencies):
    
        LT = LintTestUpdate() if UPDATE else LintTestUsingModule()
    
        LT.module = module_file.replace('.py', '')
        LT.output = messages_file
        LT.depends = dependencies or None
        LT.INPUT_DIR = INPUT_DIR
>       LT._test_functionality()

pylint/test/test_func.py:65: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pylint/testutils.py:287: in _test_functionality
    self._test(tocheck)
pylint/testutils.py:306: in _test
    self._check_result(self.linter.reporter.finalize())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
...
======= 94 failed, 453 passed, 35 skipped, 1 deselected in 61.51 seconds =======
debian/rules:27: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1

Reply via email to