summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-09 23:45:09 (GMT)
committerGuido van Rossum <guido@python.org>2007-05-09 23:45:09 (GMT)
commit62b887156134a2f62011dc5603f8646e5ffbe501 (patch)
treefaf53f59582277f06ef5eb661495c26ef075c7e3
parente2c8f2d5817fe530a873248bb5d82dcaa7d0f57e (diff)
downloadcpython-62b887156134a2f62011dc5603f8646e5ffbe501.zip
cpython-62b887156134a2f62011dc5603f8646e5ffbe501.tar.gz
cpython-62b887156134a2f62011dc5603f8646e5ffbe501.tar.bz2
Don't insist on cStringIO.
-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 87d9dc9..331b441 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -128,7 +128,7 @@ import getopt
import random
import warnings
import re
-import cStringIO
+import StringIO
import traceback
# I see no other way to suppress these warnings;
@@ -540,7 +540,7 @@ def runtest_inner(test, generate, verbose, quiet,
if verbose:
cfp = None
else:
- cfp = cStringIO.StringIO()
+ cfp = StringIO.StringIO() # XXX Should use io.StringIO()
try:
save_stdout = sys.stdout