Skip to content

Commit

Permalink
Fix unit test with optuna master
Browse files Browse the repository at this point in the history
  • Loading branch information
keisuke-umezawa committed Feb 6, 2024
1 parent cfadf70 commit 522b6ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python_tests/test_cached_extra_study_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_contains_failed_trials(self) -> None:
create_trial(
state=TrialState.COMPLETE, value=0, distributions=distributions, params=params
),
create_trial(state=TrialState.FAIL, value=0, distributions={}, params={}),
create_trial(state=TrialState.FAIL, value=None, distributions={}, params={}),
create_trial(
state=TrialState.COMPLETE, value=0, distributions=distributions, params=params
),
Expand Down Expand Up @@ -235,7 +235,7 @@ def test_contains_failed_trials(self) -> None:
),
create_trial(
state=TrialState.FAIL,
value=0,
value=None,
distributions={},
params={},
user_attrs={"bar": "bar"},
Expand Down

0 comments on commit 522b6ff

Please sign in to comment.