We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c850fc commit 1d0f614Copy full SHA for 1d0f614
1 file changed
httpx/_transports/mock.py
@@ -48,9 +48,9 @@ async def handle_async_request(
48
return response
49
50
def _apply_elapsed(self, response):
51
- #- If the handler already set `response._elapsed`, it is preserved.
52
- #- If a delay was provided to MockTransport, `.elapsed` is set to that duration.
53
- #- If no delay is provided, `.elapsed` is explicitly set to None.
+ # If the handler already set `response._elapsed`, it is preserved.
+ # If a delay was provided to MockTransport, `.elapsed` is set to that duration.
+ # If no delay is provided, `.elapsed` is explicitly set to None.
54
if hasattr(response, "_elapsed"):
55
return
56
0 commit comments