Skip to content

Commit 14b6d42

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 abc8e7f commit 14b6d42

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
@@ -270,7 +270,7 @@ deps =
270270
httpx18: httpx>=0.18.0,<0.19.0
271271
httpx18: respx~=0.17.0
272272
httpx21: httpx>=0.19.0
273-
httpx21: respx~=0.19.0
273+
httpx21: respx~=0.20.1
274274

275275
; FIXME: add coverage testing
276276
; FIXME: add mypy testing

0 commit comments

Comments
 (0)