diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-29 11:24:28 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-29 11:24:28 (GMT) |
commit | bd98f9367c4843fb6b843b7383327870e144fb61 (patch) | |
tree | 672d7484c1d21fe4b4370217561d0654883c0150 /Lib/test/regrtest.py | |
parent | a7c33e5168a6dbc1f97bf3287cfd86bebf80f4ed (diff) | |
download | cpython-bd98f9367c4843fb6b843b7383327870e144fb61.zip cpython-bd98f9367c4843fb6b843b7383327870e144fb61.tar.gz cpython-bd98f9367c4843fb6b843b7383327870e144fb61.tar.bz2 |
Issue #12400: remove unused variable
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 2929001..a571e2f 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -159,7 +159,6 @@ import json import os import random import re -import io import sys import time import errno @@ -973,10 +972,6 @@ class saved_test_environment: def runtest_inner(test, verbose, quiet, huntrleaks=False, debug=False, display_failure=True): 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. |