Skip to content

Commit 96f2630

Browse files
committed
add type annotations for adaptive/tests/test_skopt_learner.py
1 parent c753414 commit 96f2630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adaptive/tests/test_skopt_learner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
@pytest.mark.skipif(not with_scikit_optimize, reason="scikit-optimize is not installed")
13-
def test_skopt_learner_runs():
13+
def test_skopt_learner_runs() -> None:
1414
"""The SKOptLearner provides very few guarantees about its
1515
behaviour, so we only test the most basic usage
1616
"""
@@ -26,7 +26,7 @@ def g(x, noise_level=0.1):
2626

2727

2828
@pytest.mark.skipif(not with_scikit_optimize, reason="scikit-optimize is not installed")
29-
def test_skopt_learner_4D_runs():
29+
def test_skopt_learner_4D_runs() -> None:
3030
"""The SKOptLearner provides very few guarantees about its
3131
behaviour, so we only test the most basic usage
3232
In this case we test also for 4D domain

0 commit comments

Comments
 (0)