diff --git a/tests/unit/test_cell_retirement.py b/tests/unit/test_cell_retirement.py index c8246221c0..0ac2197cbf 100644 --- a/tests/unit/test_cell_retirement.py +++ b/tests/unit/test_cell_retirement.py @@ -773,7 +773,8 @@ async def work(ch): assert retirement.get_gate().closed and retirement.get_gate().active == 0 -@pytest.mark.asyncio +@pytest.mark.asyncio(loop_scope="function") +@pytest.mark.usefixtures("_request_clock") async def test_stream_and_response_background_cleanup_remain_counted(monkeypatch): import asyncio