##// END OF EJS Templates
Fix parallel tests to work with new magic API.
Fernando Perez -
Show More
@@ -813,10 +813,10 b' class DirectView(View):'
813 except NameError:
813 except NameError:
814 print "The IPython parallel magics (%result, %px, %autopx) only work within IPython."
814 print "The IPython parallel magics (%result, %px, %autopx) only work within IPython."
815 else:
815 else:
816 pmagic = ip.plugin_manager.get_plugin('parallelmagic')
816 pmagic = ip.magics_manager.registry.get('ParallelMagics')
817 if pmagic is None:
817 if pmagic is None:
818 ip.magic('load_ext parallelmagic')
818 ip.magic('load_ext parallelmagic')
819 pmagic = ip.plugin_manager.get_plugin('parallelmagic')
819 pmagic = ip.magics_manager.registry.get('ParallelMagics')
820
820
821 pmagic.active_view = self
821 pmagic.active_view = self
822
822
General Comments 0
You need to be logged in to leave comments. Login now