Skip to content

Commit 9a04ada

Browse files
committed
Fix test cases
1 parent 2227ed0 commit 9a04ada

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/storages_tests/test_storages.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -486,11 +486,6 @@ def test_set_trial_param(storage_mode: str) -> None:
486486
# Check set_param breaks neither get_trial nor get_trial_params.
487487
assert storage.get_trial(trial_id_1).params == {"x": 0.5, "y": "Meguro"}
488488
assert storage.get_trial_params(trial_id_1) == {"x": 0.5, "y": "Meguro"}
489-
# Duplicated registration should overwrite.
490-
storage.set_trial_param(trial_id_1, "x", 0.6, distribution_x)
491-
assert storage.get_trial_param(trial_id_1, "x") == 0.6
492-
assert storage.get_trial(trial_id_1).params == {"x": 0.6, "y": "Meguro"}
493-
assert storage.get_trial_params(trial_id_1) == {"x": 0.6, "y": "Meguro"}
494489

495490
# Set params to another trial.
496491
storage.set_trial_param(trial_id_2, "x", 0.3, distribution_x)

0 commit comments

Comments
 (0)