##// END OF EJS Templates
fixing InteractiveShell instantiation in test
Jonathan Taylor -
Show More
@@ -2,11 +2,9 b' import numpy as np'
2 from IPython.core.interactiveshell import InteractiveShell
2 from IPython.core.interactiveshell import InteractiveShell
3 from IPython.extensions import rmagic
3 from IPython.extensions import rmagic
4
4
5 ip = None
5 ip = get_ipython()
6 def setup():
6 ip.magic('load_ext rmagic')
7 global ip
7
8 ip = InteractiveShell()
9 ip.magic('load_ext rmagic')
10
8
11 def test_push():
9 def test_push():
12 rm = rmagic.RMagics(ip)
10 rm = rmagic.RMagics(ip)
General Comments 0
You need to be logged in to leave comments. Login now