From bd98f9367c4843fb6b843b7383327870e144fb61 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 29 Jun 2011 13:24:28 +0200 Subject: Issue #12400: remove unused variable --- Lib/test/regrtest.py | 5 ----- 1 file changed, 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. -- cgit v0.12