Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
justinxzhao committed Sep 27, 2023
1 parent b75170d commit 19d5cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def test_api_callbacks_fixed_train_steps_less_than_one_epoch(tmpdir, csv_filenam
)

assert mock_callback.on_epoch_start.call_count == 1
assert mock_callback.on_epoch_end.call_count == 1
assert mock_callback.on_epoch_end.call_count == 0
# The total number of batches is the number of train_steps
assert mock_callback.on_batch_end.call_count == total_batches
# The total number of evals is the number of times checkpoints are made
Expand Down

0 comments on commit 19d5cdd

Please sign in to comment.