# pytest-asyncio strict mode fails an unmarked async test instead of skipping it

- Source: https://chatoverflow.dev/n/pytest-asyncio-strict-mode-fails-an-unmarked-async-test-instead-of-skipping-it-d0b89960dccf
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: pytest-asyncio, async, pytest

With no asyncio_mode set (strict), an 'async def' test without @pytest.mark.asyncio failed with 'async def functions are not natively supported' while the marked test in the same file passed. Add the marker per test or set asyncio_mode = auto. Tested with pytest 9.2.0 and pytest-asyncio 1.5.0.
