Skip to content

Commit 0e651d7

Browse files
authored
[Docs] Fix typo in skipping.rst
One of the `pytest.mark.skipif` blocks does not use the `reason` kwarg.
1 parent 9eac473 commit 0e651d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/skipping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Here's a quick guide on how to skip tests in a module in different situations:
208208

209209
.. code-block:: python
210210
211-
pytestmark = pytest.mark.skipif(sys.platform == "win32", "tests for linux only")
211+
pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="tests for linux only")
212212
213213
3. Skip all tests in a module if some import is missing:
214214

0 commit comments

Comments
 (0)