Fix testfluke in hyperopt

This commit is contained in:
Matthias Voppichler 2018-05-13 13:38:29 +02:00
parent 177962fa05
commit 8f17b11610

View File

@ -123,7 +123,7 @@ def test_loss_calculation_has_limited_profit(init_hyperopt) -> None:
assert under > correct
def test_log_results_if_loss_improves(capsys) -> None:
def test_log_results_if_loss_improves(init_hyperopt, capsys) -> None:
hyperopt = _HYPEROPT
hyperopt.current_best_loss = 2
hyperopt.log_results(