[issue11561] "coverage" of Python regrtest cannot see initial import of libs

Brandon Craig Rhodes report at bugs.python.org
Tue Mar 15 23:10:46 CET 2011


Brandon Craig Rhodes <brandon at rhodesmill.org> added the comment:

Here is a module that solves this problem if the tests are run with the "fullcoverage" directory at the front of the PYTHONPATH, like this:

PYTHONPATH=Tools/fullcoverage ./python -m coverage run --pylib Lib/test/regrtest.py test_copy

----------
keywords: +patch
Added file: http://bugs.python.org/file21232/fullcoverage.patch

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


More information about the Python-bugs-list mailing list