Skip to content
Merged
Show file tree
Hide file tree
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,7 +1,12 @@
import numpy as np
import sys, pytest
from tqdm import tqdm

from hyperactive import Hyperactive

if sys.platform.startswith("win"):
pytest.skip("skip these tests for windows", allow_module_level=True)


def objective_function(opt):
score = -opt["x1"] * opt["x1"]
Expand Down
7 changes: 6 additions & 1 deletion tests/test_empty_output/test_empty_output.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import os, sys, subprocess
import os, sys, subprocess, pytest


if sys.platform.startswith("win"):
pytest.skip("skip these tests for windows", allow_module_level=True)


here = os.path.dirname(os.path.abspath(__file__))

Expand Down
5 changes: 5 additions & 0 deletions tests/test_search_spaces.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import sys, pytest
import numpy as np
import pandas as pd

from hyperactive import Hyperactive


if sys.platform.startswith("win"):
pytest.skip("skip these tests for windows", allow_module_level=True)


def test_search_space_0():
def objective_function(opt):
score = -opt["x1"] * opt["x1"]
Expand Down
6 changes: 5 additions & 1 deletion tests/test_warm_starts/test_memory_warm_start.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import time
import pytest
import pytest, sys
import numpy as np
import pandas as pd

from hyperactive import Hyperactive


if sys.platform.startswith("win"):
pytest.skip("skip these tests for windows", allow_module_level=True)


def func1():
pass

Expand Down
6 changes: 5 additions & 1 deletion tests/test_warm_starts/test_warm_start.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import time
import pytest
import pytest, sys
import numpy as np
import pandas as pd

from hyperactive import Hyperactive


if sys.platform.startswith("win"):
pytest.skip("skip these tests for windows", allow_module_level=True)


def func1():
pass

Expand Down
6 changes: 5 additions & 1 deletion tests/test_warm_starts/test_warm_start_smbo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import time
import pytest
import pytest, sys
import numpy as np
import pandas as pd

Expand All @@ -14,6 +14,10 @@
)


if sys.platform.startswith("win"):
pytest.skip("skip these tests for windows", allow_module_level=True)


def func1():
pass

Expand Down