Skip to content

pytest-asyncio 0.23.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Dec 09:45
· 270 commits to main since this release
v0.23.0

This release is backwards-compatible with v0.21. Changes are
non-breaking, unless you upgrade from v0.22.

  • BREAKING: The asyncio_event_loop mark has been removed. Event
    loops with class, module, package, and session scopes can be
    requested via the scope keyword argument to the asyncio
    mark.
  • Introduces the event_loop_policy fixture which allows testing with
    non-default or multiple event loops #662
  • Introduces pytest_asyncio.is_async_test which returns whether a
    test item is managed by pytest-asyncio #376
  • Removes and pytest-trio, mypy, and flaky from the test
    dependencies #620, #674, #678