[issue27594] Assertion failure when running "test_ast" tests with coverage.
Ivan Levkivskyi
report at bugs.python.org
Fri Aug 12 07:54:59 EDT 2016
Ivan Levkivskyi added the comment:
You could try changing this line in compile.c (in function 'assemble')
if (entryblock && entryblock->b_instr)
to
if (entryblock && entryblock->b_instr && entryblock->b_instr->i_lineno)
Does this help?
----------
nosy: +levkivskyi
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27594>
_______________________________________
More information about the Python-bugs-list
mailing list