In my case I had to change from @pytest.fixture to @pytest_asyncio.fixture and just worked. Of course, keep in mind the tests should be annotated with @pytest.mark.asyncio and don't forget to install pytest-asyncio
@pytest.fixture
@pytest_asyncio.fixture
@pytest.mark.asyncio
pytest-asyncio