[issue19763] Make it easier to backport statistics to 2.7

STINNER Victor report at bugs.python.org
Mon Nov 25 14:44:41 CET 2013


STINNER Victor added the comment:

> However, I think the following changes do make the docstrings less readable:

Doctests are not reliable. IMO it's better to use unittest with testcases. unittest is easier to maintain, work with Python 2 and 3, and usually provide more useful reports on error.

unittest has more features like functions to skip a test on a specific platform.

----------

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


More information about the Python-bugs-list mailing list