Update StringIO use for Py3
It is imported from io now.
This commit is contained in:
parent
619a9a2939
commit
4bb7f14e2a
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user