Fix a format error

This commit is contained in:
c-bata
2022-12-09 10:44:25 +09:00
parent 50cf80bc48
commit 2950c1a7f7
@@ -261,13 +261,18 @@ class _CachedExtraStudyPropertyUserAttrs(TestCase):
trials = []
for user_attrs in user_attrs_list:
trials.append(create_trial(
state=TrialState.COMPLETE,
value=0,
distributions={"x0": FloatDistribution(low=0, high=10), "x1": FloatDistribution(low=0, high=10)},
params={"x0": 0.5, "x1": 0.5},
user_attrs=user_attrs,
))
trials.append(
create_trial(
state=TrialState.COMPLETE,
value=0,
distributions={
"x0": FloatDistribution(low=0, high=10),
"x1": FloatDistribution(low=0, high=10),
},
params={"x0": 0.5, "x1": 0.5},
user_attrs=user_attrs,
)
)
cached_extra_study_property = _CachedExtraStudyProperty()
cached_extra_study_property.update(trials)