From db8ecde25e2799ab7f03df5eb36f77aef8bc3b79 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 19:44:16 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/utils.py b/tests/utils.py index 4f6a2e04..8b8fb6a7 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -18,9 +18,7 @@ def prepend_middleware(path: str) -> modify_settings: @contextmanager -def temporary_check_request_hander( - handler: Callable[..., bool] -) -> Generator[None, None, None]: +def temporary_check_request_hander(handler: Callable[..., bool]) -> Generator[None]: check_request_enabled.connect(handler) try: yield