[Docs] Fix typo in skipping.rst

One of the `pytest.mark.skipif` blocks does not use the `reason` kwarg.
This commit is contained in:
Douglas Thor 2019-04-16 09:30:13 -07:00 committed by GitHub
parent 9eac4733c5
commit 0e651d7297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: