Skip to content

Commit 13e8f25

Browse files
committed
docs: Added missing changelog entry about the loop_scope kwarg.
Signed-off-by: Michael Seifert <[email protected]>
1 parent 57c2974 commit 13e8f25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: docs/source/reference/changelog.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Changelog
44

55
0.24.0 (UNRELEASED)
66
===================
7-
- Deprecates the optional `scope` keyword argument of asyncio markers. Users are encouraged to use the `loop_scope` keyword argument. The `loop_scope` kwarg does exactly the same, though its naming is consistent with the `loop_scope` kwarg of ``pytest_asyncio.fixture``.
7+
- 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 <https://github.com/pytest-dev/pytest-asyncio/pull/871>`_
8+
- 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.
89

910

1011
0.23.8 (2024-07-17)

0 commit comments

Comments
 (0)