Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: be more explicit about module level skip preventing collection #10753

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/_pytest/outcomes.py
Expand Up @@ -158,8 +158,8 @@ def skip(

:param allow_module_level:
Allows this function to be called at module level.
Raising the skip exception in a module will stop the execution of the module.
Additionally, the module will no longer be collected.
Raising the skip exception at module level will stop
the execution of the module and prevent its collection. alltogether.
RonnyPfannschmidt marked this conversation as resolved.
Show resolved Hide resolved

Defaults to False.

Expand Down