]> granicus.if.org Git - python/commitdiff
Close #12089: Remove outdated and unused code from regrtest.
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 30 May 2011 20:58:13 +0000 (22:58 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 30 May 2011 20:58:13 +0000 (22:58 +0200)
Lib/test/regrtest.py

index b5e5127059054530f4fed3fb1e4d04ed16c23eea..29e86481210065ebd779dad62efc4ffb172fbba7 100755 (executable)
@@ -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.