Class-scoped and module-scoped event loops can be requested
via the asyncio_event_loop mark. #620
Deprecate redefinition of the event_loop fixture. #587
Users requiring a class-scoped or module-scoped asyncio event loop for their tests
should mark the corresponding class or module with asyncio_event_loop.
Test items based on asynchronous generators always exit with xfail status and emit a warning during the collection phase. This behavior is consistent with synchronous yield tests. #642
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
coverage: 88.122%. remained the same when pulling e36a93eec6ed95358a16d4429809b5b0b20fad3f on dependabot/pip/pytest-asyncio-0.22.0 into 2b3523ff5a7c1d14a80753344672b56d25e64810 on main.
Bumps pytest-asyncio from 0.21.1 to 0.22.0.
Release notes
Sourced from pytest-asyncio's releases.
Commits
a950f55
Prepare for release of v0.22.0.349d9c8
Build(deps): Bump outcome in /dependencies/default494601d
Build(deps): Bump pytest from 7.4.2 to 7.4.3 in /dependencies/default044e568
[feat] Emit a deprecation warning when the event_loop fixture is explicitly r...9f75b3c
[fix] Fixes an issue that causes DeprecationWarnings for event loop overrides...b7c66db
[build] Run code examples in docs as tests.62bf444
[docs] Extracted most Python code examples into separate files.b6b2c7f
[refactor] Simplified code in test_asyncio_mark.4bca1d7
[feat] Test items based on asynchronous generators always exit with xfail s...d697a12
[refactor] test_warn_asyncio_marker_for_regular_func uses pytester, instead o...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show