From 3b6b30eaaaaabb9323b80ea3ea62f462d2c2506a Mon Sep 17 00:00:00 2001 From: EmmanuelNiyonshuti Date: Fri, 15 May 2026 11:00:15 +0200 Subject: [PATCH] update anyio pytest plugin section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8483dbe..1a42245 100644 --- a/README.md +++ b/README.md @@ -459,7 +459,7 @@ import pytest async def test_async_function(): ... ``` -By default, `anyio` runs every test that has the marker twice, once with `trio` and another time with `asyncio`. +By default, `anyio` runs every tests that has the marker on `asyncio` backend. If you also have`trio` installed, it will run each test twice, once with `trio` and another time with `asyncio`. You probably want to restrict that by using either one or the other, in case you are testing an application, and not a package: