1 2 3 4 5 6 7 8
import asyncio import pytest @pytest.mark.asyncio async def test_sleep(): await asyncio.sleep(0)