Skip to content

Commit

Permalink
remove tests with pathos dist.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBlanke committed Jan 5, 2025
1 parent abb4efc commit 2bb4d83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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():
Expand Down

0 comments on commit 2bb4d83

Please sign in to comment.