File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ Change wording of the module level skip to be very explicit
2+ about not collecting and not executing the rest of the module.
Original file line number Diff line number Diff line change @@ -157,8 +157,12 @@ def skip(
157157 The message to show the user as reason for the skip.
158158
159159 :param allow_module_level:
160- Allows this function to be called at module level, skipping the rest
161- of the module. Defaults to False.
160+ Allows this function to be called at module level.
161+ Raising the skip exception at module level will stop
162+ the execution of the module and prevent the collection of all tests in the module,
163+ even those defined before the `skip` call.
164+
165+ Defaults to False.
162166
163167 :param msg:
164168 Same as ``reason``, but deprecated. Will be removed in a future version, use ``reason`` instead.
You can’t perform that action at this time.
0 commit comments