Skip to content

Commit

Permalink
nocover
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusSintonen committed Jun 10, 2024
1 parent 5f1c010 commit f4968e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpcore/_synchronization.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ async def shield(shielded: Callable[[], Coroutine[Any, Any, None]]) -> None:
@staticmethod
async def _asyncio_shield(
shielded: Callable[[], Coroutine[Any, Any, None]],
) -> None:
) -> None: # pragma: nocover
inner_task = asyncio.create_task(shielded())
try:
await asyncio.shield(inner_task)
Expand Down

0 comments on commit f4968e1

Please sign in to comment.