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