From 009249aed8f11ed3f817292d8eea916bb1a4c458 Mon Sep 17 00:00:00 2001 From: Markus Sintonen Date: Mon, 17 Jun 2024 12:49:59 +0300 Subject: [PATCH] lint --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index ac919c06..5aa2ed50 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -33,7 +33,7 @@ def anyio_backend(request, monkeypatch): class Server(uvicorn.Server): @contextmanager def run_in_thread( - self, sockets: Optional[List[socket.socket]] | None = None + self, sockets: Optional[List[socket.socket]] = None ) -> Generator[None, None, None]: thread = Thread(target=lambda: self.run(sockets)) thread.start()