Skip to content

Commit 50352ea

Browse files
committed
skip test in earlier version of starlette since it does not support content arg which only happens once httpx is part of starlette
1 parent 32286b8 commit 50352ea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/integrations/starlette/test_starlette.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,10 @@ async def _read_json(request):
11031103
assert "hello" in attr
11041104

11051105

1106+
@pytest.mark.skipif(
1107+
STARLETTE_VERSION < (0, 21),
1108+
reason="Requires Starlette >= 0.21, because earlier versions use a requests-based TestClient which does not support the 'content' kwarg",
1109+
)
11061110
def test_request_body_data_annotated_value_top_level_span_streaming(
11071111
sentry_init, capture_items
11081112
):

0 commit comments

Comments
 (0)