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
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to