Skip to content

Commit ce8a881

Browse files
Upgrade respx for httpx 0.23.1+ compatibility
See release notes at https://github.com/lundberg/respx/releases/tag/0.20.1
1 parent b797723 commit ce8a881

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

instrumentation/opentelemetry-instrumentation-httpx/tests/test_httpx_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _async_call(coro: typing.Coroutine) -> asyncio.Task:
5959
def _response_hook(span, request: "RequestInfo", response: "ResponseInfo"):
6060
span.set_attribute(
6161
HTTP_RESPONSE_BODY,
62-
b"".join([part for part in response[2]]),
62+
b"".join(response[2]),
6363
)
6464

6565

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ deps =
275275
httpx18: httpx>=0.18.0,<0.19.0
276276
httpx18: respx~=0.17.0
277277
httpx21: httpx>=0.19.0
278-
httpx21: respx~=0.19.0
278+
httpx21: respx~=0.20.1
279279

280280
; FIXME: add coverage testing
281281
; FIXME: add mypy testing

0 commit comments

Comments
 (0)