Adjust test

This commit is contained in:
hroff-1902 2019-12-01 17:44:14 +03:00
parent 8f9b5095b5
commit d6b587678e
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ def test_log_results_if_loss_improves(hyperopt, capsys) -> None:
hyperopt.total_epochs = 2 hyperopt.total_epochs = 2
hyperopt.print_results( hyperopt.print_results(
{ {
'is_best': False, 'is_best': True,
'loss': 1, 'loss': 1,
'current_epoch': 2, # This starts from 1 (in a human-friendly manner) 'current_epoch': 2, # This starts from 1 (in a human-friendly manner)
'results_explanation': 'foo.', 'results_explanation': 'foo.',