Show More
@@ -11,6 +11,7 b' import sys' | |||
|
11 | 11 | import nose.tools as nt |
|
12 | 12 | |
|
13 | 13 | from IPython.testing import decorators as dec |
|
14 | from IPython.utils.syspathcontext import prepended_to_syspath | |
|
14 | 15 | from IPython.utils.tempdir import TemporaryDirectory |
|
15 | 16 | from IPython.lib.deepreload import reload as dreload |
|
16 | 17 | |
@@ -33,7 +34,7 b' def test_deepreload_numpy():' | |||
|
33 | 34 | def test_deepreload(): |
|
34 | 35 | "Test that dreload does deep reloads and skips excluded modules." |
|
35 | 36 | with TemporaryDirectory() as tmpdir: |
|
36 |
sys |
|
|
37 | with prepended_to_syspath(tmpdir): | |
|
37 | 38 | with open(os.path.join(tmpdir, 'A.py'), 'w') as f: |
|
38 | 39 | f.write("class Object(object):\n pass\n") |
|
39 | 40 | with open(os.path.join(tmpdir, 'B.py'), 'w') as f: |
General Comments 0
You need to be logged in to leave comments.
Login now