From 1bad72dbd054d2d5f322e6d973f5401caa939e8a Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Wed, 10 Jan 2024 11:28:21 +0100 Subject: [PATCH] Fix linter --- tests/test_concurrency.py | 2 +- tests/test_routing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index ebf7dff64e..e7dc9cffb0 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -12,7 +12,7 @@ def test_accessing_context_from_threaded_sync_endpoint( - test_client_factory: Callable[..., TestClient] + test_client_factory: Callable[..., TestClient], ) -> None: ctxvar: ContextVar[bytes] = ContextVar("ctxvar") ctxvar.set(b"data") diff --git a/tests/test_routing.py b/tests/test_routing.py index 1de6a35f42..69ec85865f 100644 --- a/tests/test_routing.py +++ b/tests/test_routing.py @@ -630,7 +630,7 @@ def test_standalone_ws_route_does_not_match(test_client_factory): def test_lifespan_state_unsupported( - test_client_factory: typing.Callable[..., TestClient] + test_client_factory: typing.Callable[..., TestClient], ): @contextlib.asynccontextmanager async def lifespan(app: Starlette):