From: Victor Stinner Date: Mon, 30 May 2011 20:58:13 +0000 (+0200) Subject: Close #12089: Remove outdated and unused code from regrtest. X-Git-Tag: v3.3.0a1~2183^2~42^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d976098e3bb53b9c52d55a303e1389a102ed8bae;p=thirdparty%2FPython%2Fcpython.git Close #12089: Remove outdated and unused code from regrtest. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index b5e512705905..29e864812100 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -1023,10 +1023,6 @@ class saved_test_environment: def runtest_inner(test, verbose, quiet, huntrleaks=False, debug=False): support.unload(test) - if verbose: - capture_stdout = None - else: - capture_stdout = io.StringIO() test_time = 0.0 refleak = False # True if the test leaked references.