Package: src:pycodestyle
Version: 2.3.1-2
Severity: serious
Tags: sid buster
Forwarded: https://github.com/PyCQA/pycodestyle/issues/786

one test case fails when running with Python 3.7:

[...]
test_check_non_existent (testsuite.test_shell.ShellTestCase) ... ok
test_check_simple (testsuite.test_shell.ShellTestCase) ... ok
test_check_stdin (testsuite.test_shell.ShellTestCase) ... ok
test_print_usage (testsuite.test_shell.ShellTestCase) ... ok
test_normalize_paths (testsuite.test_util.UtilTestCase) ... ok

======================================================================
FAIL: test_checkers_testsuite (testsuite.test_all.PycodestyleTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/packages/tmp/pycodestyle-2.3.1/testsuite/test_all.py", line 39, in
test_checkers_testsuite
    msg='%s failure(s)' % report.total_errors)
AssertionError: 15 is not false : 15 failure(s)

----------------------------------------------------------------------
Ran 30 tests in 0.542s

FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=30 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=30 errors=0 failures=1>
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1:
python3.7 setup.py test
dh_auto_test: pybuild --test -i python{version} -p "3.7 3.6" returned exit code 
13

also seen in the new upstream 2.4.0.

Reply via email to