[issue3722] print followed by exception eats print with doctest
Charles-Axel Dein
report at bugs.python.org
Fri Dec 5 12:46:50 CET 2008
Charles-Axel Dein <charlesaxel.dein at gmail.com> added the comment:
This is a bug. This is not a good behavior.
If I would like to temporarily print a variable to see its content, in
order to debug my code, doctest will eat its output. Thus I will be make
to use pdb or to use logging, or to get rid of doctest. This will be far
more complicated.
See attached file.
----------
nosy: +charlax
type: feature request -> behavior
Added file: http://bugs.python.org/file12238/proof_of_concept_doctest.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3722>
_______________________________________
More information about the Python-bugs-list
mailing list