Skip to content

Commit

Permalink
[brief] Tweaking the optuna tests to see why CI is failing.
Browse files Browse the repository at this point in the history
[detailed]
  • Loading branch information
marovira committed Nov 23, 2024
1 parent 0f48836 commit bb08d1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ def create_study(

chkpts = list(run1.chkpt_root.glob("*.pkl"))
assert len(chkpts) == num_trials
assert all(chkpt.stem == f"sampler_trial-{i}" for i, chkpt in enumerate(chkpts))
for i, chkpt in enumerate(chkpts):
assert chkpt.stem == f"sampler_trial-{i}"
del study

study = create_study()
Expand Down

0 comments on commit bb08d1f

Please sign in to comment.