Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/test_distribution.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import numpy as np
import pytest
from tqdm import tqdm

from hyperactive import Hyperactive


Expand Down Expand Up @@ -71,12 +73,14 @@ def test_n_jobs_7():
hyper.run()


@pytest.mark.skip(reason="This test is not working on Windows")
def test_multiprocessing_0():
hyper = Hyperactive(distribution="multiprocessing")
hyper.add_search(objective_function, search_space, n_iter=15, n_jobs=2)
hyper.run()


@pytest.mark.skip(reason="This test is not working on Windows")
def test_multiprocessing_1():
hyper = Hyperactive(
distribution={
Expand Down Expand Up @@ -115,6 +119,7 @@ def joblib_wrapper(process_func, search_processes_paras, n_jobs, **kwargs):
hyper.run()


@pytest.mark.skip(reason="This test is not working on Windows")
def test_pathos_0():
hyper = Hyperactive(distribution="pathos")
hyper.add_search(objective_function, search_space, n_iter=15, n_jobs=2)
Expand Down
Loading