[Python-3000-checkins] r55219 - python/branches/py3k-struni/Lib/test/regrtest.py
guido.van.rossum
python-3000-checkins at python.org
Thu May 10 01:45:14 CEST 2007
Author: guido.van.rossum
Date: Thu May 10 01:45:09 2007
New Revision: 55219
Modified:
python/branches/py3k-struni/Lib/test/regrtest.py
Log:
Don't insist on cStringIO.
Modified: python/branches/py3k-struni/Lib/test/regrtest.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/regrtest.py (original)
+++ python/branches/py3k-struni/Lib/test/regrtest.py Thu May 10 01:45:09 2007
@@ -128,7 +128,7 @@
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 @@
if verbose:
cfp = None
else:
- cfp = cStringIO.StringIO()
+ cfp = StringIO.StringIO() # XXX Should use io.StringIO()
try:
save_stdout = sys.stdout
More information about the Python-3000-checkins
mailing list