Commit 4e28550f authored by Raymond Hettinger's avatar Raymond Hettinger

User cStringIO instead of StringIO.

parent 26e38d8d
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment