fix pytest

This commit is contained in:
Matthias 2019-01-06 19:31:25 +01:00
parent 40b1d8f067
commit 440a7ec9c2

View File

@ -201,7 +201,7 @@ def test_start_calls_optimizer(mocker, default_conf, caplog) -> None:
hyperopt.start()
parallel.assert_called_once()
assert 'Best result:\nfoo result\nwith values:\n{}' in caplog.text
assert 'Best result:\nfoo result\nwith values:\n\n' in caplog.text
assert dumper.called