From d774de65c5c347ddf9aaaadc29a603fd6915e85e Mon Sep 17 00:00:00 2001 From: Contramundum Date: Mon, 4 Sep 2023 19:19:17 +0900 Subject: [PATCH] Fix mypy error --- python_tests/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_tests/test_api.py b/python_tests/test_api.py index 9bdaf4d3..5085b598 100644 --- a/python_tests/test_api.py +++ b/python_tests/test_api.py @@ -157,8 +157,8 @@ class APITestCase(TestCase): for _ in range(3): trial = study.ask() trials.append(trial) - study.report_preference(trials[0], trials[1]) - study.report_preference(trials[2], trials[1]) + study.report_preference(study.trials[0], study.trials[1]) + study.report_preference(study.trials[2], study.trials[1]) app = create_app(storage) study_id = study._study._study_id