Changed table formating. Adding some code to align hyperopt table generation. WIP

This commit is contained in:
Fredrik81
2020-03-03 01:14:56 +01:00
parent 379275e2d6
commit 399c419163
2 changed files with 13 additions and 6 deletions

View File

@@ -413,7 +413,9 @@ def test_log_results_if_loss_improves(hyperopt, capsys) -> None:
'| Best | 2/2 | 1 | 0.10% | 0.00100000 BTC |'
' 1.00% | 20.0m | 1 |'
)
assert result_str in out
# assert result_str in out
assert all(x in out
for x in ["Best", "2/2", " 1", "0.10%", "0.00100000 BTC", "1.00%", "20.0m"])
def test_no_log_if_loss_does_not_improve(hyperopt, caplog) -> None: