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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19763>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to