diff --git a/pmda/test/test_leaflet.py b/pmda/test/test_leaflet.py index 4e8ac099..17004c27 100644 --- a/pmda/test/test_leaflet.py +++ b/pmda/test/test_leaflet.py @@ -42,7 +42,7 @@ def correct_values_single_frame(self): @pytest.mark.parametrize('n_jobs', (pytest.mark.xfail(-1), 1, pytest.mark.xfail(2))) - def test_leaflet(self, universe, correct_values, n_jobs): + def test_leaflet(self, universe, correct_values, n_jobs, scheduler): lipid_heads = universe.select_atoms("name P and resname POPG") universe.trajectory.rewind() leaflets = leaflet.LeafletFinder(universe, lipid_heads) @@ -57,7 +57,8 @@ def test_leaflet(self, universe, correct_values, n_jobs): def test_leaflet_single_frame(self, u_one_frame, correct_values_single_frame, - n_jobs): + n_jobs, + scheduler): lipid_heads = u_one_frame.select_atoms("name PO4") u_one_frame.trajectory.rewind() leaflets = leaflet.LeafletFinder(u_one_frame,