This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ap
Recipients ap
Date 2016-07-22.22:32:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469226726.58.0.53789092151.issue27594@psf.upfronthosting.co.za>
In-reply-to
Content
This is with a build of the default branch on OS X 10.11.6:

$ hg identify
fada654c5f72 tip
$ ./python.exe --version
Python 3.6.0a3+
$

The "test_ast" tests appear to run fine without coverage tracking enabled:

$ ./python.exe -m test test_ast
Run tests sequentially
0:00:00 [1/1] test_ast
1 test OK.
Total duration: 0:00:07
$

But when coverage tracking is enabled, an assertion fails:

$ ./python.exe -m test --coverage -D`pwd`/coverage_data test_ast
Run tests sequentially
0:00:00 [1/1] test_ast
Assertion failed: (line > 0), function _PyCode_CheckLineNumber, file Objects/codeobject.c, line 717.
Fatal Python error: Aborted

Current thread 0x00007fff76279000 (most recent call first):
  File "test", line 0 in <module>
  File "/python-dev/cpython/Lib/test/test_ast.py", line 559 in test_level_as_none
  File "/python-dev/cpython/Lib/unittest/case.py", line 600 in run
  File "/python-dev/cpython/Lib/unittest/case.py", line 648 in __call__
  File "/python-dev/cpython/Lib/unittest/suite.py", line 122 in run
  File "/python-dev/cpython/Lib/unittest/suite.py", line 84 in __call__
  File "/python-dev/cpython/Lib/unittest/suite.py", line 122 in run
  File "/python-dev/cpython/Lib/unittest/suite.py", line 84 in __call__
  File "/python-dev/cpython/Lib/unittest/suite.py", line 122 in run
  File "/python-dev/cpython/Lib/unittest/suite.py", line 84 in __call__
  File "/python-dev/cpython/Lib/test/support/__init__.py", line 1709 in run
  File "/python-dev/cpython/Lib/test/support/__init__.py", line 1810 in _run_suite
  File "/python-dev/cpython/Lib/test/support/__init__.py", line 1844 in run_unittest
  File "/python-dev/cpython/Lib/test/libregrtest/runtest.py", line 179 in test_runner
  File "/python-dev/cpython/Lib/test/libregrtest/runtest.py", line 180 in runtest_inner
  File "/python-dev/cpython/Lib/test/libregrtest/runtest.py", line 144 in runtest
  File "<string>", line 1 in <module>
  File "/python-dev/cpython/Lib/trace.py", line 469 in runctx
  File "/python-dev/cpython/Lib/test/libregrtest/main.py", line 330 in run_tests_sequential
  File "/python-dev/cpython/Lib/test/libregrtest/main.py", line 406 in run_tests
  File "/python-dev/cpython/Lib/test/libregrtest/main.py", line 466 in _main
  File "/python-dev/cpython/Lib/test/libregrtest/main.py", line 446 in main
  File "/python-dev/cpython/Lib/test/libregrtest/main.py", line 508 in main
  File "/python-dev/cpython/Lib/test/__main__.py", line 2 in <module>
  File "/python-dev/cpython/Lib/runpy.py", line 85 in _run_code
  File "/python-dev/cpython/Lib/runpy.py", line 184 in _run_module_as_main
Abort trap: 6
$
History
Date User Action Args
2016-07-22 22:32:06apsetrecipients: + ap
2016-07-22 22:32:06apsetmessageid: <1469226726.58.0.53789092151.issue27594@psf.upfronthosting.co.za>
2016-07-22 22:32:06aplinkissue27594 messages
2016-07-22 22:32:02apcreate