From 2a832f09ffc0a15758dc5e506e6c9810cac59ef3 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Mon, 20 Feb 2023 07:33:06 +0100 Subject: [PATCH] fixup: even more explicit about module skip preventing collect --- src/_pytest/outcomes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_pytest/outcomes.py b/src/_pytest/outcomes.py index 66b44ea7c..47d1719be 100644 --- a/src/_pytest/outcomes.py +++ b/src/_pytest/outcomes.py @@ -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. Defaults to False.