Show More
@@ -0,0 +1,5 b'' | |||||
|
1 | from distutils.core import setup | |||
|
2 | setup(name='daft_extension', | |||
|
3 | version='1.0', | |||
|
4 | py_modules=['daft_extension'], | |||
|
5 | ) |
1 | NO CONTENT: file renamed from IPython/core/tests/daft_extension.py to IPython/core/tests/daft_extension/daft_extension.py |
|
NO CONTENT: file renamed from IPython/core/tests/daft_extension.py to IPython/core/tests/daft_extension/daft_extension.py |
@@ -611,8 +611,8 b' def test_extension():' | |||||
611 | try: |
|
611 | try: | |
612 | _ip.ipython_dir = tmpdir.name |
|
612 | _ip.ipython_dir = tmpdir.name | |
613 | nt.assert_raises(ImportError, _ip.magic, "load_ext daft_extension") |
|
613 | nt.assert_raises(ImportError, _ip.magic, "load_ext daft_extension") | |
614 |
url = os.path.join(os.path.dirname(__file__), "daft_extension |
|
614 | url = os.path.join(os.path.dirname(__file__), "daft_extension") | |
615 |
_ip.m |
|
615 | _ip.system("pip install %s" % url) | |
616 | _ip.user_ns.pop('arq', None) |
|
616 | _ip.user_ns.pop('arq', None) | |
617 | invalidate_caches() # Clear import caches |
|
617 | invalidate_caches() # Clear import caches | |
618 | _ip.magic("load_ext daft_extension") |
|
618 | _ip.magic("load_ext daft_extension") |
General Comments 0
You need to be logged in to leave comments.
Login now