From 58eb3966bea46cee04a88d190457f7650c4e383a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 17 May 2025 09:35:04 +0200 Subject: [PATCH 1/2] Update test_distribution.py --- tests/test_distribution.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_distribution.py b/tests/test_distribution.py index 5b4de7ed..d6ea8109 100644 --- a/tests/test_distribution.py +++ b/tests/test_distribution.py @@ -1,5 +1,7 @@ import numpy as np +import pytest from tqdm import tqdm + from hyperactive import Hyperactive @@ -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={ From 317ad4012a125b9fb52155a4e1ce39d788dd6149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 17 May 2025 10:17:56 +0200 Subject: [PATCH 2/2] Update test_distribution.py --- tests/test_distribution.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_distribution.py b/tests/test_distribution.py index d6ea8109..12fb1b7d 100644 --- a/tests/test_distribution.py +++ b/tests/test_distribution.py @@ -119,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)