diff --git a/src/_pytest/outcomes.py b/src/_pytest/outcomes.py index 06532dc62..6c2dfb5ae 100644 --- a/src/_pytest/outcomes.py +++ b/src/_pytest/outcomes.py @@ -90,7 +90,7 @@ def skip(msg="", **kwargs): It is better to use the :ref:`pytest.mark.skipif ref` marker when possible to declare a test to be skipped under certain conditions like mismatching platforms or dependencies. - Similarly, use ``# doctest: +SKIP`` directive (see `doctest.SKIP + Similarly, use the ``# doctest: +SKIP`` directive (see `doctest.SKIP `_) to skip a doctest statically. """