Skip to content

Commit

Permalink
Add pragma: nocover
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Sep 27, 2024
1 parent ba3f942 commit 4aac649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpcore/_backends/anyio.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async def connect_tcp(
local_host=local_address,
)
# By default TCP sockets opened in `asyncio` include TCP_NODELAY.
for option in socket_options:
for option in socket_options: # pragma: nocover
stream._raw_socket.setsockopt(*option) # type: ignore[attr-defined] # pragma: no cover
return AnyIOStream(stream)

Expand Down

0 comments on commit 4aac649

Please sign in to comment.