diff --git a/bob/bio/base/test/test_transformers.py b/bob/bio/base/test/test_transformers.py index ed8575b8b68682c9ba4b73189b09e59dcff4026a..e78049d736482e56f0afdd3e000b35853b6810d4 100644 --- a/bob/bio/base/test/test_transformers.py +++ b/bob/bio/base/test/test_transformers.py @@ -277,7 +277,7 @@ def test_wrap_bob_pipeline(): if with_dask: pipeline = mario.wrap(["dask"], pipeline) transformed_samples = ( - pipeline.fit(training_samples).transform(test_samples).compute() + pipeline.fit(training_samples).transform(test_samples).compute(scheduler="single-threaded") ) else: transformed_samples = pipeline.fit(training_samples).transform( diff --git a/bob/bio/base/test/test_vanilla_biometrics.py b/bob/bio/base/test/test_vanilla_biometrics.py index 2a85d33442826288b461b8b2a6f521c510d5846d..99920add1d1d75be26a7cd369ebc0098c2911442 100644 --- a/bob/bio/base/test/test_vanilla_biometrics.py +++ b/bob/bio/base/test/test_vanilla_biometrics.py @@ -148,7 +148,7 @@ def test_on_memory(): ) if with_dask: - scores = scores.compute() + scores = scores.compute(scheduler="single-threaded") assert len(scores) == 10 for probe_ssets in scores: