[issue9317] Incorrect coverage file from trace test_pickle.py
Alexander Belopolsky
report at bugs.python.org
Wed Jul 21 06:22:46 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
On Wed, Jul 21, 2010 at 12:13 AM, Eli Bendersky <report at bugs.python.org> wrote:
..
> I'm investigating further, but this may very well be caused by different behavior
> of `f_code.co_filename` between Python 2 and 3.
I am afraid I am a step ahead of you. The culprit is
t.run('exec(%r)' % (script,))
line in 3.x instead of
t.run('execfile(%r)' % (progname,))
in 2.x
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9317>
_______________________________________
More information about the Python-bugs-list
mailing list