pytest-unnecessary-asyncio-mark-on-fixture (PT024)
Derived from the flake8-pytest-style linter.
Fix is always available.
What it does
Checks for unnecessary @pytest.mark.asyncio
decorators applied to fixtures.
Why is this bad?
pytest.mark.asyncio
is unnecessary for fixtures.
Example
Use instead: