Skip to content

Commit 10dd396

Browse files
Do not apply a mark to async_http_client fixture (#1700)
Applying marks to a pytest fixture has never actually worked, it has just been a no-op. Starting with pytest 9, it now raises an error to fix code that does so. Remove the mark.
1 parent fdafb27 commit 10dd396

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_integration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ def do_request(self, req_num):
335335
usage = telemetry["last_request_metrics"]["usage"]
336336
assert usage == ["stripe_client", "async"]
337337

338-
@pytest.mark.anyio
339338
@pytest.fixture(params=["aiohttp", "httpx"])
340339
async def async_http_client(self, request, anyio_backend):
341340
if request.param == "httpx":

0 commit comments

Comments
 (0)