Skip to content

Commit

Permalink
fix issue with trailing zero in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
frances-h committed Oct 27, 2023
1 parent d1415ba commit 7c18b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/synthesizer/test_tvae.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_tvae(tmpdir, capsys):
assert set(loss_values.columns) == {'Epoch', 'Batch', 'Loss'}
assert all(loss_values['Batch'] == 0)
last_loss_val = loss_values['Loss'].iloc[-1]
assert f'Loss: {round(last_loss_val, 3)}: 100%' in captured_out
assert f'Loss: {round(last_loss_val, 3):.3f}: 100%' in captured_out


def test_drop_last_false():
Expand Down

0 comments on commit 7c18b14

Please sign in to comment.