We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da626e7 commit e839ee6Copy full SHA for e839ee6
src/_pytest/outcomes.py
@@ -157,8 +157,11 @@ def skip(
157
The message to show the user as reason for the skip.
158
159
:param allow_module_level:
160
- Allows this function to be called at module level, skipping the rest
161
- of the module. Defaults to False.
+ Allows this function to be called at module level.
+ Raising the skip exception in a module will stop the execution of the module.
162
+ Additionally, the module will no longer be collected.
163
+
164
+ Defaults to False.
165
166
:param msg:
167
Same as ``reason``, but deprecated. Will be removed in a future version, use ``reason`` instead.
0 commit comments