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