From 2bb4d83b1f5ed33603d6b0493cfe818b9ce35306 Mon Sep 17 00:00:00 2001 From: Simon Blanke Date: Sun, 5 Jan 2025 17:21:09 +0100 Subject: [PATCH] remove tests with pathos dist. --- tests/test_distribution.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_distribution.py b/tests/test_distribution.py index 5b4de7ed..c860e970 100644 --- a/tests/test_distribution.py +++ b/tests/test_distribution.py @@ -103,7 +103,8 @@ def joblib_wrapper(process_func, search_processes_paras, n_jobs, **kwargs): n_jobs = len(search_processes_paras) jobs = [ - delayed(process_func)(*info_dict) for info_dict in search_processes_paras + delayed(process_func)(*info_dict) + for info_dict in search_processes_paras ] results = Parallel(n_jobs=n_jobs, *kwargs)(jobs) @@ -115,10 +116,12 @@ def joblib_wrapper(process_func, search_processes_paras, n_jobs, **kwargs): hyper.run() +""" def test_pathos_0(): hyper = Hyperactive(distribution="pathos") hyper.add_search(objective_function, search_space, n_iter=15, n_jobs=2) hyper.run() +""" def test_n_processes_0():