From: Guido van Rossum Date: Wed, 9 May 2007 23:45:09 +0000 (+0000) Subject: Don't insist on cStringIO. X-Git-Tag: v3.0a1~973 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62b887156134a2f62011dc5603f8646e5ffbe501;p=python Don't insist on cStringIO. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 87d9dc9c37..331b4416e4 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