Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusSintonen committed Jun 17, 2024
1 parent 15911e0 commit 009249a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 009249a

Please sign in to comment.