pytest.mark.asyncio is unnecessary for fixtures
Bad code:
import pytest
@pytest.mark.asyncio()
@pytest.fixture()
async def my_fixture():
return 0
Good code:
import pytest
@pytest.fixture()
async def my_fixture():
return 0
- the mark is useless on fixtures and therefore unnecessary