Created attachment 1445451 [details] build.log from copr Description of problem: python-mccabe FTBFS on python 3.7 due to failed test: + py.test-2.7 ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.5.1, py-1.5.3, pluggy-0.6.0 rootdir: /builddir/build/BUILD/mccabe-0.6.1, inifile: collected 14 items test_mccabe.py ss............ [100%] ===================== 12 passed, 2 skipped in 0.04 seconds ===================== + py.test-3 ============================= test session starts ============================== platform linux -- Python 3.7.0b4, pytest-3.5.1, py-1.5.3, pluggy-0.6.0 rootdir: /builddir/build/BUILD/mccabe-0.6.1, inifile: collected 14 items test_mccabe.py ..F........... [100%] =================================== FAILURES =================================== ____________________ McCabeTestCase.test_expr_as_statement _____________________ self = <test_mccabe.McCabeTestCase testMethod=test_expr_as_statement> def test_expr_as_statement(self): complexity = get_complexity_number(expr_as_statement, self.strio) > self.assertEqual(complexity, 1) E AssertionError: 2 != 1 test_mccabe.py:192: AssertionError ===================== 1 failed, 13 passed in 0.09 seconds ====================== Version-Release number of selected component (if applicable): 0.6.1-7.fc29 Logs attached.
Created attachment 1445452 [details] root.log from copr
Orphan. I asked for it in https://pagure.io/releng/issue/7533
Note that this test failure is likely to away in 3.7.0b5, since we reverted the AST change that caused it: https://github.com/python/cpython/pull/7121 (Upstream may still want to change their test though, since we're still planning to make a change along these lines for 3.8)
Indeed. Builds fine with b5.