##// END OF EJS Templates
skip numpy autoreload test if numpy not installed
sleeping -
Show More
@@ -29,6 +29,7 b' from unittest import TestCase'
29
29
30 from IPython.extensions.autoreload import AutoreloadMagics
30 from IPython.extensions.autoreload import AutoreloadMagics
31 from IPython.core.events import EventManager, pre_run_cell
31 from IPython.core.events import EventManager, pre_run_cell
32 from IPython.testing.decorators import skipif_not_numpy
32
33
33 if platform.python_implementation() == "PyPy":
34 if platform.python_implementation() == "PyPy":
34 pytest.skip(
35 pytest.skip(
@@ -274,6 +275,7 b' class TestAutoreload(Fixture):'
274 with self.assertRaises(AttributeError):
275 with self.assertRaises(AttributeError):
275 self.shell.run_code(f"{object_name}.toto")
276 self.shell.run_code(f"{object_name}.toto")
276
277
278 @skipif_not_numpy
277 def test_comparing_numpy_structures(self):
279 def test_comparing_numpy_structures(self):
278 self.shell.magic_autoreload("2")
280 self.shell.magic_autoreload("2")
279 mod_name, mod_fn = self.new_module(
281 mod_name, mod_fn = self.new_module(
General Comments 0
You need to be logged in to leave comments. Login now