Skip to content

Commit

Permalink
Fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GilesStrong committed Feb 10, 2024
1 parent ca739e5 commit d55a9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def test_metric_logger(detector, mocker, tmp_path): # noqa F811
assert history[1]["test"] == [3]
assert len(logger._buffer_files) == 2
assert logger._buffer_files[-1] == tmp_path / "temp_monitor_1.png"
assert Path(PKG_DIR / "optimisation_history.gif").exists()
assert (tmp_path / "optimisation_history.gif").exists()

logger.loss_vals["Validation"] = [9, 8, 7, 6, 5, 9]
logger.metric_vals = [[10, 3, 5, 6, 7, 5]]
Expand Down

0 comments on commit d55a9bb

Please sign in to comment.