]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 29 Jun 2011 13:52:46 +0000 (15:52 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 29 Jun 2011 13:52:46 +0000 (15:52 +0200)
commitbddc4d4607a26603b2171f0663c506c8994e0a5b
tree3ae29ba10dad15c1b55adb116712f44690445456
parentea95de75dd2a01e424e935f06d871067df99a6ed
Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore

regrtest doesn't check that tests doesn't write something to stdout anymore.

Don't replace sys.stdout by the original sys.stdout to be able to capture the
output for regrtest -W.
Lib/test/support.py