Refactor hyperopt_tools naming

This commit is contained in:
Matthias
2021-06-13 11:24:24 +02:00
parent c65b4e5d3b
commit d54ee0eb04
4 changed files with 9 additions and 9 deletions

View File

@@ -1068,7 +1068,7 @@ def test_simplified_interface_failed(mocker, hyperopt_conf, method, space) -> No
hyperopt.start()
def test_print_epoch_details(capsys):
def test_show_epoch_details(capsys):
test_result = {
'params_details': {
'trailing': {
@@ -1090,7 +1090,7 @@ def test_print_epoch_details(capsys):
'is_best': True
}
HyperoptTools.print_epoch_details(test_result, 5, False, no_header=True)
HyperoptTools.show_epoch_details(test_result, 5, False, no_header=True)
captured = capsys.readouterr()
assert '# Trailing stop:' in captured.out
# re.match(r"Pairs for .*", captured.out)