github pytest-dev/pytest-asyncio v1.0.0
pytest-asyncio 1.0.0

latest releases: v1.1.0, v1.1.0a1
3 months ago

1.0.0 - 2025-05-26

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 to pytest_asyncio.fixture.
    (#1112)

Fixed

  • An error caused when using pytest's [--setup-plan]{.title-ref}
    option.
    (#630)
  • Unsuppressed import errors with pytest option
    --doctest-ignore-import-errors
    (#797)
  • A "fixture not found" error in connection with package-scoped loops
    (#1052)

Notes for Downstream Packagers

  • Removed a test that had an ordering dependency on other tests.
    (#1114)

Don't miss a new pytest-asyncio release

NewReleases is sending notifications on new releases.