[issue11572] bring Lib/copy.py to 100% coverage
report at bugs.python.org
Wed Mar 16 18:11:27 CET 2011
Benjamin Peterson <benjamin at python.org> added the comment:
2011/3/16 Nick Coghlan <report at bugs.python.org>:
> 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.
There's really no precedent for it.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list