From d976098e3bb53b9c52d55a303e1389a102ed8bae Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 30 May 2011 22:58:13 +0200 Subject: Close #12089: Remove outdated and unused code from regrtest. --- Lib/test/regrtest.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index b5e5127..29e8648 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. -- cgit v0.12