docs: be more explicit about module level skip preventing collection
This commit is contained in:
parent
da626e7186
commit
5f83069d86
|
@ -0,0 +1,2 @@
|
||||||
|
Change wording of the module level skip to be very explicit
|
||||||
|
about not collecting and not executing the rest of the module.
|
|
@ -157,8 +157,11 @@ def skip(
|
||||||
The message to show the user as reason for the skip.
|
The message to show the user as reason for the skip.
|
||||||
|
|
||||||
:param allow_module_level:
|
:param allow_module_level:
|
||||||
Allows this function to be called at module level, skipping the rest
|
Allows this function to be called at module level.
|
||||||
of the module. Defaults to False.
|
Raising the skip exception in a module will stop the execution of the module.
|
||||||
|
Additionally, the module will no longer be collected.
|
||||||
|
|
||||||
|
Defaults to False.
|
||||||
|
|
||||||
:param msg:
|
:param msg:
|
||||||
Same as ``reason``, but deprecated. Will be removed in a future version, use ``reason`` instead.
|
Same as ``reason``, but deprecated. Will be removed in a future version, use ``reason`` instead.
|
||||||
|
|
Loading…
Reference in New Issue