This commit is contained in:
Fredrik81 2020-03-03 01:35:18 +01:00
parent 399c419163
commit 4aca8d7fcc

View File

@ -409,11 +409,6 @@ def test_log_results_if_loss_improves(hyperopt, capsys) -> None:
} }
) )
out, err = capsys.readouterr() out, err = capsys.readouterr()
result_str = (
'| Best | 2/2 | 1 | 0.10% | 0.00100000 BTC |'
' 1.00% | 20.0m | 1 |'
)
# assert result_str in out
assert all(x in out 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.0m"])