From: Raymond Hettinger Date: Sat, 17 May 2003 20:44:12 +0000 (+0000) Subject: User cStringIO instead of StringIO. X-Git-Tag: v2.3c1~684 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74e67661a69ddb43a21a486c66965a052540cdd0;p=thirdparty%2FPython%2Fcpython.git User cStringIO instead of StringIO. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 24b0aeaf5b35..9794fc33c217 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: