0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00

User cStringIO instead of StringIO.

This commit is contained in:
Raymond Hettinger 2003-05-17 20:44:12 +00:00
parent c8b188a9e2
commit 74e67661a6

View File

@ -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: