[issue9317] Incorrect coverage file from trace test_pickle.py

Alexander Belopolsky report at bugs.python.org
Wed Jul 21 06:44:01 CEST 2010


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

I am attaching a proof-of-concept patch, issue9317.diff, which fixes the file name problem at the expense of more spurious modules:

$ ./python.exe -m trace  -c -s traceme.py
lines   cov%   module   (path)
    7   100%   codecs   (Lib/codecs.py)
   10   100%   locale   (Lib/locale.py)
    4   100%   pkgutil   (Lib/pkgutil.py)
   58   100%   runpy   (Lib/runpy.py)
    6   100%   traceme   (traceme.py)

----------
keywords: +patch
Added file: http://bugs.python.org/file18099/issue9317.diff

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


More information about the Python-bugs-list mailing list