Skip to content

Commit 491df4e

Browse files
committed
docs: Mention missing loop scopes in asyncio marker reference
1 parent 21cf8d8 commit 491df4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/markers/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The ``pytest.mark.asyncio`` marker can be omitted entirely in |auto mode|_ where
2121

2222
By default, each test runs in it's own asyncio event loop.
2323
Multiple tests can share the same event loop by providing a *loop_scope* keyword argument to the *asyncio* mark.
24-
The supported scopes are *class,* and *module,* and *package*.
24+
The supported scopes are *function,* *class,* and *module,* *package,* and *session*.
2525
The following code example provides a shared event loop for all tests in `TestClassScopedLoop`:
2626

2727
.. include:: class_scoped_loop_strict_mode_example.py

0 commit comments

Comments
 (0)