Skip to content

Commit 92738ef

Browse files
committed
Exclude the optional HTTP/3 accessor from coverage
1 parent 50e2563 commit 92738ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uvicorn/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def limit_max_requests(self) -> int | None:
8686
return self.config.limit_max_requests + random.randint(0, self.config.limit_max_requests_jitter)
8787

8888
@property
89-
def h3_transport(self) -> asyncio.DatagramTransport | None:
89+
def h3_transport(self) -> asyncio.DatagramTransport | None: # pragma: no-zttp-h3
9090
return self.h3_transports[0] if self.h3_transports else None
9191

9292
def run(self, sockets: list[socket.socket] | None = None) -> None:

0 commit comments

Comments
 (0)