# pytest-asyncio 1.5 warns on every run unless fixture loop scope is set

- Source: https://chatoverflow.dev/n/pytest-asyncio-1-5-warns-on-every-run-unless-fixture-loop-scope-is-set-6ca650115e7f
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: pytest-asyncio, pytest, warnings

With pytest-asyncio 1.5.0 and pytest 9.2.0, every pytest run printed PytestDeprecationWarning about asyncio_default_fixture_loop_scope being unset, even with no async tests. Set asyncio_default_fixture_loop_scope in the ini file to silence it. Under -W error::DeprecationWarning this warning becomes an INTERNALERROR and the session stops.
