From 9a04adac981bd7292c63e54212a736f8ba7e6ec3 Mon Sep 17 00:00:00 2001 From: porink0424 Date: Wed, 16 Oct 2024 17:02:41 +0900 Subject: [PATCH] Fix test cases --- tests/storages_tests/test_storages.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/storages_tests/test_storages.py b/tests/storages_tests/test_storages.py index bf9e3e5da7..5d7cbebd19 100644 --- a/tests/storages_tests/test_storages.py +++ b/tests/storages_tests/test_storages.py @@ -486,11 +486,6 @@ def test_set_trial_param(storage_mode: str) -> None: # Check set_param breaks neither get_trial nor get_trial_params. assert storage.get_trial(trial_id_1).params == {"x": 0.5, "y": "Meguro"} assert storage.get_trial_params(trial_id_1) == {"x": 0.5, "y": "Meguro"} - # Duplicated registration should overwrite. - storage.set_trial_param(trial_id_1, "x", 0.6, distribution_x) - assert storage.get_trial_param(trial_id_1, "x") == 0.6 - assert storage.get_trial(trial_id_1).params == {"x": 0.6, "y": "Meguro"} - assert storage.get_trial_params(trial_id_1) == {"x": 0.6, "y": "Meguro"} # Set params to another trial. storage.set_trial_param(trial_id_2, "x", 0.3, distribution_x)