pytest-asyncio 1.0.0a1
Pre-release
Pre-release
1.0.0a1 - 2025-05-09
Removed
- The deprecated event_loop fixture.
(#1106)
Added
- Prelimiary support for Python 3.14
(#1025)
Changed
- Scoped event loops (e.g. module-scoped loops) are created once rather
than per scope (e.g. per module). This reduces the number of fixtures
and speeds up collection time, especially for large test suites.
(#1107) - The loop_scope argument to
pytest.mark.asyncio
no longer forces
that a pytest Collector exists at the level of the specified scope.
For example, a test function marked with
pytest.mark.asyncio(loop_scope="class")
no longer requires a class
surrounding the test. This is consistent with the behavior of the
scope argument topytest_asyncio.fixture
.
(#1112)