Skip to content

Commit 1bed514

Browse files
committed
Fix inconsistency in skipif example
Fix pytest-dev#1224
1 parent 41f1979 commit 1bed514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/en/skipping.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ As with all function :ref:`marking <mark>` you can skip test functions at the
8383
`whole class- or module level`_. If your code targets python2.6 or above you
8484
use the skipif decorator (and any other marker) on classes::
8585

86-
@pytest.mark.skipif(sys.platform != 'win32',
87-
reason="requires windows")
86+
@pytest.mark.skipif(sys.platform == 'win32',
87+
reason="does not run on windows")
8888
class TestPosixCalls:
8989

9090
def test_function(self):

0 commit comments

Comments
 (0)