diff --git a/tests/test_resource_limits.py b/tests/test_resource_limits.py index a55ecaccd1ad1..a31b9ef1867f9 100644 --- a/tests/test_resource_limits.py +++ b/tests/test_resource_limits.py @@ -173,7 +173,7 @@ def test_never_lowers_an_unlimited_soft_limit(monkeypatch): assert fake_resource.limits == (-1, -1) -@pytest.mark.asyncio +@pytest.mark.anyio async def test_gateway_startup_applies_limit_before_gateway_initialization(monkeypatch): import gateway.code_skew import gateway.run as gateway_run