mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
User cStringIO instead of StringIO.
This commit is contained in:
parent
c8b188a9e2
commit
74e67661a6
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue