From 777606681ec995cdc306f81fec87cf7c8b7c0c15 Mon Sep 17 00:00:00 2001 From: anti Date: Wed, 17 Jun 2026 13:22:35 -0400 Subject: [PATCH] fix(tests): drop illegal @pytest.mark.anyio on anyio_backend fixture Newer pytest raises 'Marks cannot be applied to fixtures' instead of ignoring it. The async test methods already carry @pytest.mark.anyio, which is what selects the backend; the fixture must not. --- tests/fleet/test_reconciler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/fleet/test_reconciler.py b/tests/fleet/test_reconciler.py index 54543976..b455d427 100644 --- a/tests/fleet/test_reconciler.py +++ b/tests/fleet/test_reconciler.py @@ -142,7 +142,6 @@ class TestAggregate: # ── reconcile_once ──────────────────────────────────────────────────────────── -@pytest.mark.anyio @pytest.fixture def anyio_backend(): return "asyncio"