[issue9317] Incorrect coverage file from trace test_pickle.py

Alexander Belopolsky report at bugs.python.org
Wed Jul 21 06:00:25 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Comparison of count files produced by 2.7 and 3.x suggests that the problem is in finding the source file for the module:

>>> pickle.load(open('x', 'rb'))
({('<string>', 2): 2, ('<string>', 1): 4, ('<string>', 8): 20, ..
>>> pickle.load(open('y', 'rb'))
({('traceme.py', 1): 2, ('traceme.py', 2): 2, ('<string>', 1): 2, ('traceme.py', 8): 20, ..

In the above, x was produced by 3.x and y by 2.7.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9317>
_______________________________________


More information about the Python-bugs-list mailing list