Show More
@@ -9,12 +9,8 b' import os' | |||
|
9 | 9 | import sys |
|
10 | 10 | import warnings |
|
11 | 11 | from unittest import TestCase |
|
12 | ||
|
13 | try: | |
|
14 | from importlib import invalidate_caches # Required from Python 3.3 | |
|
15 | except ImportError: | |
|
16 | def invalidate_caches(): | |
|
17 | pass | |
|
12 | from importlib import invalidate_caches | |
|
13 | from io import StringIO | |
|
18 | 14 | |
|
19 | 15 | import nose.tools as nt |
|
20 | 16 | |
@@ -32,10 +28,6 b' from IPython.utils.io import capture_output' | |||
|
32 | 28 | from IPython.utils.tempdir import TemporaryDirectory |
|
33 | 29 | from IPython.utils.process import find_cmd |
|
34 | 30 | |
|
35 | if py3compat.PY3: | |
|
36 | from io import StringIO | |
|
37 | else: | |
|
38 | from StringIO import StringIO | |
|
39 | 31 | |
|
40 | 32 | |
|
41 | 33 | _ip = get_ipython() |
General Comments 0
You need to be logged in to leave comments.
Login now