[issue13349] Uninformal error message in index() and remove() functions

Nick Coghlan report at bugs.python.org
Fri Nov 11 13:37:35 CET 2011


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

doctests by their very nature tend to overspecify things - that's why actual regression tests should be written with unittest, while doctest is kept for its originally intended purpose of testing examples included in docstrings and other documentation.

Still, there's also a reason why IGNORE_EXCEPTION_DETAIL is an available doctest option.

----------
nosy: +ncoghlan

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


More information about the Python-bugs-list mailing list