github pytest-dev/pytest-asyncio v1.4.0a0
pytest-asyncio 1.4.0a0

latest release: v1.4.0a1
pre-release16 hours ago

1.4.0a0 - 2026-03-25

Added

  • Added the pytest_asyncio_loop_factories hook to parametrize asyncio tests with custom event loop factories.

    The hook now returns a mapping of factory names to loop factories, and pytest.mark.asyncio(loop_factories=[...]) can be used to select a subset of configured factories per test. (#1164)

Changed

  • Improved the readability of the warning message that is displayed when asyncio_default_fixture_loop_scope is unset (#1298)

Don't miss a new pytest-asyncio release

NewReleases is sending notifications on new releases.