Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebbd602

Browse files
zedseifertm
authored andcommitted
docs: describe when UsageError is raised for loop_scope="class" marker
before that: docs claimed (erroneously) the opposite of the actual (and intended) behavior.
1 parentc4c1b48 commitebbd602

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
@@ -25,7 +25,7 @@ The following code example provides a shared event loop for all tests in `TestCl
2525
..include::class_scoped_loop_strict_mode_example.py
2626
:code: python
2727

28-
Requestingclass scopewith the testbeingpart of a classwillgive a *UsageError*.
28+
If you requestclass scopefor a testthat is notpart of a class, itwillresult in a *UsageError*.
2929
Similar to class-scoped event loops, a module-scoped loop is provided when setting mark's scope to *module:*
3030

3131
..include::module_scoped_loop_strict_mode_example.py

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp