From: Victor Stinner Date: Wed, 29 Jun 2011 13:53:11 +0000 (+0200) Subject: Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore X-Git-Tag: v3.3.0a1~2012 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05d34fc9533eb71052be2ecac3882d658cf6dd71;p=thirdparty%2FPython%2Fcpython.git 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. --- 05d34fc9533eb71052be2ecac3882d658cf6dd71