diff options
author | Douglas Thor <dougthor42@users.noreply.github.com> | 2019-04-16 09:30:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 09:30:13 -0700 |
commit | 0e651d7297ce230d2c2811bc9939475c56dad80a (patch) | |
tree | 89bd4f361b94859e6333b92d4a2e3e14d23ecbc6 /doc/en/skipping.rst | |
parent | 9eac4733c56cd1bac8abb6639e19976710fee139 (diff) | |
download | pytest-0e651d7297ce230d2c2811bc9939475c56dad80a.tar.gz |
[Docs] Fix typo in skipping.rst
One of the `pytest.mark.skipif` blocks does not use the `reason` kwarg.
Diffstat (limited to 'doc/en/skipping.rst')
-rw-r--r-- | doc/en/skipping.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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: |