Updated table layout and aligning better for hyperopt

This commit is contained in:
Fredrik81
2020-03-04 00:10:47 +01:00
parent 4aca8d7fcc
commit 7652a2bb95
2 changed files with 31 additions and 21 deletions

View File

@@ -410,7 +410,7 @@ def test_log_results_if_loss_improves(hyperopt, capsys) -> None:
)
out, err = capsys.readouterr()
assert all(x in out
for x in ["Best", "2/2", " 1", "0.10%", "0.00100000 BTC", "1.00%", "20.0m"])
for x in ["Best", "2/2", " 1", "0.10%", "0.00100000 BTC (1.00%)", "20.0 m"])
def test_no_log_if_loss_does_not_improve(hyperopt, caplog) -> None: