Skip to content

Commit 57be1d6

Browse files
blueyedtkf
andauthored
Apply suggestions from code review
Co-Authored-By: tkf <[email protected]>
1 parent 62f96ee commit 57be1d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

changelog/4911.feature.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Doctest can be now skipped dynamically with `pytest.skip`.
1+
Doctests can be skipped now dynamically using ``pytest.skip()``.

src/_pytest/outcomes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def skip(msg="", **kwargs):
8181
8282
This function should be called only during testing (setup, call or teardown) or
8383
during collection by using the ``allow_module_level`` flag. This function can
84-
be called in doctest as well.
84+
be called in doctests as well.
8585
8686
:kwarg bool allow_module_level: allows this function to be called at
8787
module level, skipping the rest of the module. Default to False.

0 commit comments

Comments
 (0)