Update StringIO use for Py3

It is imported from io now.
This commit is contained in:
Brian C. Lane 2018-08-07 08:41:11 -07:00
parent 619a9a2939
commit 4bb7f14e2a

View File

@ -16,7 +16,7 @@
# #
import sys import sys
from contextlib import contextmanager from contextlib import contextmanager
from StringIO import StringIO from io import StringIO
@contextmanager @contextmanager
def captured_output(): def captured_output():