test: some cleanup

This commit is contained in:
Matthias
2025-11-04 07:14:01 +01:00
parent c748ac2aa2
commit 007ab1b796
2 changed files with 0 additions and 2 deletions

View File

@@ -941,7 +941,6 @@ def test_simplified_interface_none_selected(mocker, hyperopt_conf, caplog) -> No
hyperopt.hyperopter.backtesting.strategy.advise_all_indicators = MagicMock()
hyperopt.hyperopter.custom_hyperopt.generate_roi_table = MagicMock(return_value={})
# The first one to fail raises the exception
with pytest.raises(OperationalException, match=r"No hyperopt parameters found to optimize\..*"):
hyperopt.hyperopter.init_spaces()