Show More
@@ -26,6 +26,7 b' import os' | |||||
26 | import re |
|
26 | import re | |
27 | import sys |
|
27 | import sys | |
28 | from importlib import import_module |
|
28 | from importlib import import_module | |
|
29 | from io import StringIO | |||
29 |
|
30 | |||
30 | from testpath import modified_env |
|
31 | from testpath import modified_env | |
31 |
|
32 | |||
@@ -45,12 +46,7 b' from nose.plugins import doctests, Plugin' | |||||
45 | from nose.util import anyp, tolist |
|
46 | from nose.util import anyp, tolist | |
46 |
|
47 | |||
47 | # Our own imports |
|
48 | # Our own imports | |
48 |
from IPython.utils.py3compat import builtin_mod |
|
49 | from IPython.utils.py3compat import builtin_mod | |
49 |
|
||||
50 | if PY3: |
|
|||
51 | from io import StringIO |
|
|||
52 | else: |
|
|||
53 | from StringIO import StringIO |
|
|||
54 |
|
50 | |||
55 | #----------------------------------------------------------------------------- |
|
51 | #----------------------------------------------------------------------------- | |
56 | # Module globals and other constants |
|
52 | # Module globals and other constants |
General Comments 0
You need to be logged in to leave comments.
Login now