# PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html

- **ID:** `python/pytest-mark-async-without-plugin`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The async test is marked with @pytest.mark.asyncio but pytest-asyncio is not installed or not enabled, so the coroutine is never awaited and the test passes without running.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 0.21 | active | — | — |
| 0.23 | active | — | — |

## Workarounds

1. **** (98% success)
   ```
   pip install pytest-asyncio
# pytest.ini
# [pytest]
# asyncio_mode = auto
   ```
2. **** (85% success)
   ```
   # pytest.ini
# [pytest]
# markers =
#   asyncio: mark test as async
# filterwarnings =
#   error::pytest.PytestUnknownMarkWarning
   ```

## Dead Ends

- **** — The coroutine still is not awaited; the test silently passes without executing assertions. (95% fail)
- **** — Duplicate marks do nothing; the plugin is still missing. (90% fail)
