From 886c15a7fb2bfbb2df332b402b480f370e45583b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 1 Nov 2025 15:57:03 +0100 Subject: [PATCH] test: update test asserting no longer existing metric --- tests/optimize/test_hyperopt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/optimize/test_hyperopt.py b/tests/optimize/test_hyperopt.py index bca0abacf..fc7fa31e1 100644 --- a/tests/optimize/test_hyperopt.py +++ b/tests/optimize/test_hyperopt.py @@ -913,7 +913,7 @@ def test_simplified_interface_all_failed(mocker, hyperopt_conf, caplog) -> None: caplog.clear() hyperopt.hyperopter.init_spaces() assert log_has_re(r"The 'protection' space is included into *", caplog) - assert hyperopt.hyperopter.protection_space == [] + assert hyperopt.hyperopter.spaces["protection"] == [] def test_simplified_interface_buy(mocker, hyperopt_conf, capsys) -> None: