diff --git a/test/test_pytools.py b/test/test_pytools.py index 0158ae72baa601864f7857e588ad1507daa2e05c..d4ceedbedfc15352ce4d7626041679ebc8347cd2 100644 --- a/test/test_pytools.py +++ b/test/test_pytools.py @@ -132,6 +132,7 @@ def test_memoize_keyfunc(): @pytest.mark.parametrize("dims", [2, 3]) def test_spatial_btree(dims, do_plot=False): + pytest.importorskip("numpy") import numpy as np nparticles = 2000 x = -1 + 2*np.random.rand(dims, nparticles)