🐛 fix test

This commit is contained in:
Faylixe
2020-12-08 14:53:07 +01:00
parent 1665861a76
commit 981efbd734
2 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ def test_train():
'-p', 'useless_config.json',
'-d', path
])
raise IOError(f'STDOUT: {result.stdout}, STDERR: {result.stderr}')
raise IOError(f'STDOUT: {result.stdout}')
assert result.exit_code == 0
# assert that model checkpoint was created.
assert os.path.exists(join(path, 'model', 'model.ckpt-10.index'))