[issue7960] test.support.captured_output has invalid docstring example

Ezio Melotti report at bugs.python.org
Sat May 14 07:49:30 CEST 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

I fixed the docstring, however I think captured_output should be renamed _captured_output, since it only works with sys.stdout/in/err and there are already 3 other functions (in 3.2/3.3) that use captured_output to replace the 3 std* streams.  There's no reason to document and use it elsewhere.
Georg, what do you think?

----------
resolution:  -> fixed
stage:  -> committed/rejected

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


More information about the Python-bugs-list mailing list