Skip to content

Commit 32d1f1b

Browse files
committed
Use seed fixture
1 parent 1e47ec9 commit 32d1f1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/valuation/samplers/test_owen.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ def _check_sample_sizes(samples, n_samples_outer, n_indices, probs):
2222

2323

2424
@pytest.mark.flaky(reruns=1)
25-
def test_finite_owen_sampler():
25+
def test_finite_owen_sampler(seed):
2626
n_outer = 5
2727
n_inner = 100
2828
sampler = OwenSampler(
2929
outer_sampling_strategy=GridOwenStrategy(n_outer),
3030
n_samples_inner=n_inner,
3131
index_iteration=FiniteSequentialIndexIteration,
32+
seed=seed,
3233
)
3334
indices = np.arange(2000)
3435

0 commit comments

Comments
 (0)