Update StringIO use for Py3
It is imported from io now.
This commit is contained in:
parent
7fbf71dbf2
commit
28b6b8d296
@ -16,7 +16,7 @@
|
||||
#
|
||||
import sys
|
||||
from contextlib import contextmanager
|
||||
from StringIO import StringIO
|
||||
from io import StringIO
|
||||
|
||||
@contextmanager
|
||||
def captured_output():
|
||||
|
Loading…
Reference in New Issue
Block a user