Skip to content

Commit

Permalink
revert moving spy call
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum committed Feb 12, 2024
1 parent 4043b8d commit 48a1f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/frameworks/test_huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def test_huggingface_integration(tmp_dir, model, args, data, mocker, callback):
)
callback = callback()
live = callback.live
trainer.add_callback(callback)
spy = mocker.spy(Live, "end")
trainer.add_callback(callback)
trainer.train()
spy.assert_called_once()

Expand Down

0 comments on commit 48a1f7c

Please sign in to comment.