Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
karpetrosyan committed Jul 13, 2024
1 parent 8b8165d commit ba26418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpcore/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_minimum_timeout(self, timeout: typing.Optional[float]) -> typing.Any:
return timeout
if timeout is None:
return self.timeouts["total"]
return min(timeout, self.timeouts["total"])
return min(timeout, self.timeouts["total"]) # pragma: nocover


def is_socket_readable(sock: typing.Optional[socket.socket]) -> bool:
Expand Down

0 comments on commit ba26418

Please sign in to comment.