summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-05-17 20:44:12 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-05-17 20:44:12 (GMT)
commit74e67661a69ddb43a21a486c66965a052540cdd0 (patch)
treeccb0d5e777d9165e818a14d0fe0baa543dd93076
parentc8b188a9e2dc2f5cd60228fddc7eefe0c37192bb (diff)
downloadcpython-74e67661a69ddb43a21a486c66965a052540cdd0.zip
cpython-74e67661a69ddb43a21a486c66965a052540cdd0.tar.gz
cpython-74e67661a69ddb43a21a486c66965a052540cdd0.tar.bz2
User cStringIO instead of StringIO.
-rwxr-xr-xLib/test/regrtest.py4
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: