Skip to content
Snippets Groups Projects
Commit e0f7597e authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

Merge pull request #8 from koobs/patch-1

Import numpy or skip for test_spatial_btree
parents 2f3d8d50 4abc9497
No related branches found
No related tags found
No related merge requests found
...@@ -132,6 +132,7 @@ def test_memoize_keyfunc(): ...@@ -132,6 +132,7 @@ def test_memoize_keyfunc():
@pytest.mark.parametrize("dims", [2, 3]) @pytest.mark.parametrize("dims", [2, 3])
def test_spatial_btree(dims, do_plot=False): def test_spatial_btree(dims, do_plot=False):
pytest.importorskip("numpy")
import numpy as np import numpy as np
nparticles = 2000 nparticles = 2000
x = -1 + 2*np.random.rand(dims, nparticles) x = -1 + 2*np.random.rand(dims, nparticles)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment