# async def functions are not natively supported.
You need to install a suitable plugin for your async framework, for example:
  - anyio
  - pytest-asyncio
  - pytest-tornasync
  - pytest-trio
  - pytest-twisted

- **ID:** `python/pytest-asyncio-no-plugin`
- **Domain:** python
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

pytest does not natively run async test functions. Without pytest-asyncio (or another async plugin) and the correct asyncio_mode configuration, async tests are skipped/failed with this message.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 7.x | active | — | — |
| 8.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   pip install pytest-asyncio, then add to pyproject.toml or pytest.ini:
[tool.pytest.ini_options]
asyncio_mode = "auto"

and mark tests with @pytest.mark.asyncio (or rely on auto mode).
   ```
2. **** (85% success)
   ```
   Alternatively use anyio: `pip install anyio` and decorate with `@pytest.mark.anyio`.
   ```

## Dead Ends

- **** — Runs at import time, not collection time, and breaks fixtures/event loop reuse. (70% fail)
- **** — The marker is unknown without the plugin; test still fails with the same message. (75% fail)
