diff options
-rwxr-xr-x | Lib/test/regrtest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 24b0aea..9794fc3 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -73,7 +73,7 @@ import os import getopt import traceback import random -import StringIO +import cStringIO import warnings from sets import Set @@ -379,7 +379,7 @@ def runtest(test, generate, verbose, quiet, testdir = None): if verbose: cfp = None else: - cfp = StringIO.StringIO() + cfp = cStringIO.StringIO() try: save_stdout = sys.stdout try: |