[issue3722] print followed by exception eats print with doctest

Tim Peters report at bugs.python.org
Fri Aug 29 16:52:24 CEST 2008


Tim Peters <tim.peters at gmail.com> added the comment:

As the doctest docs say,

    Examples containing both expected output and an exception
    are not supported.  Trying to guess where one ends and
    the other begins is too error-prone, and that also makes
    for a confusing test.

Since this is working as designed and as documented, it's not "a bug". 
You could call it a feature request.

----------
nosy: +tim_one

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


More information about the Python-bugs-list mailing list