pytest-asyncio 0.24.0a0
Pre-release
Pre-release
github-actions
released this
30 Jul 13:44
·
107 commits
to main
since this release
0.24.0 (UNRELEASED)
- Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #706, #871
- Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with
pytest_asyncio.fixture
. Users are encouraged to use the loop_scope keyword argument, which does exactly the same. - Raises an error when passing scope or loop_scope as a positional argument to
@pytest.mark.asyncio
. #812