From 0e651d7297ce230d2c2811bc9939475c56dad80a Mon Sep 17 00:00:00 2001 From: Douglas Thor Date: Tue, 16 Apr 2019 09:30:13 -0700 Subject: [PATCH] [Docs] Fix typo in skipping.rst One of the `pytest.mark.skipif` blocks does not use the `reason` kwarg. --- doc/en/skipping.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/skipping.rst b/doc/en/skipping.rst index a2b10f70d..b1145cc26 100644 --- a/doc/en/skipping.rst +++ b/doc/en/skipping.rst @@ -208,7 +208,7 @@ Here's a quick guide on how to skip tests in a module in different situations: .. code-block:: python - pytestmark = pytest.mark.skipif(sys.platform == "win32", "tests for linux only") + pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="tests for linux only") 3. Skip all tests in a module if some import is missing: