From 616832c98b3127329ecaa29a289b10420910648a Mon Sep 17 00:00:00 2001 From: nabenabe0928 Date: Mon, 27 Nov 2023 07:35:12 +0100 Subject: [PATCH] Apply black to test_api --- python_tests/test_api.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python_tests/test_api.py b/python_tests/test_api.py index 3c5981ea..2647ed1f 100644 --- a/python_tests/test_api.py +++ b/python_tests/test_api.py @@ -263,9 +263,7 @@ class APITestCase(TestCase): self.assertEqual(status, 400) assert study.trials[0].user_attrs == {} - def _save_trial_note( - self, request_body: dict[str, int | str] - ) -> tuple[int, optuna.Study]: + def _save_trial_note(self, request_body: dict[str, int | str]) -> tuple[int, optuna.Study]: study = optuna.create_study() trial = study.ask() app = create_app(study._storage)