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:
parent
c8b188a9e2
commit
74e67661a6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user