Update python_tests/test_csv_download.py

Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com>
This commit is contained in:
Hiroki Takizawa
2023-12-07 10:31:55 +09:00
committed by GitHub
co-authored by Shuhei Watanabe
parent 462bc99b33
commit 678b15e60c
+2 -2
View File
@@ -55,8 +55,8 @@ def test_download_csv_all_running() -> None:
assert status == 200
@pytest.mark.parametrize("id", [0, 1])
def test_download_csv_fail(id: int) -> None:
@pytest.mark.parametrize("study_id", [0, 1])
def test_download_csv_fail(study_id: int) -> None:
def objective(trial: optuna.Trial) -> float:
x = trial.suggest_float("x", -100, 100)
y = trial.suggest_categorical("y", [-1, 0, 1])