[issue11572] bring Lib/copy.py to 100% coverage

Nick Coghlan report at bugs.python.org
Wed Mar 16 18:01:45 CET 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Alexander: the coverage problem in this case has to do with it incorrectly handling an "else:" clause on a loop (it doesn't adjust the expected target for an empty sequence to be the body of the else clause)

Benjamin: the pragma question is probably worth bringing up on python-dev. In the long run, it would be best to merge coverage data from the test suites of all the major implementations and platforms, but in the meantime we need a way to mark when modules are "done" from the point of view of the CPython test suite.

----------

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


More information about the Python-bugs-list mailing list