Skip to content

Commit 009249a

Browse files
lint
1 parent 15911e0 commit 009249a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def anyio_backend(request, monkeypatch):
3333
class Server(uvicorn.Server):
3434
@contextmanager
3535
def run_in_thread(
36-
self, sockets: Optional[List[socket.socket]] | None = None
36+
self, sockets: Optional[List[socket.socket]] = None
3737
) -> Generator[None, None, None]:
3838
thread = Thread(target=lambda: self.run(sockets))
3939
thread.start()

0 commit comments

Comments
 (0)