diff --git a/yt/geometry/tests/test_particle_deposit.py b/yt/geometry/tests/test_particle_deposit.py index c922e88ed90..fca774c2735 100644 --- a/yt/geometry/tests/test_particle_deposit.py +++ b/yt/geometry/tests/test_particle_deposit.py @@ -2,7 +2,7 @@ import yt from yt.loaders import load -from yt.testing import fake_random_ds, requires_file +from yt.testing import fake_random_ds, requires_file, requires_module from yt.utilities.exceptions import YTBoundsDefinitionError @@ -34,6 +34,7 @@ def test_one_zone_octree_deposit(): assert sp["deposit", "io_cic"].shape == (1,) +@requires_module("h5py") @requires_file(RAMSES) @requires_file(ISOGAL) def test_mesh_sampling(): @@ -52,6 +53,7 @@ def test_mesh_sampling(): assert_array_less(-dist, dx) +@requires_module("h5py") @requires_file(RAMSES) @requires_file(ISOGAL) def test_mesh_sampling_for_filtered_particles():