Skip to content

Commit 382efc6

Browse files
committed
Fix same inconsistency in next example
1 parent 1bed514 commit 382efc6

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
@@ -97,8 +97,8 @@ If your code targets python2.5 where class-decorators are not available,
9797
you can set the ``pytestmark`` attribute of a class::
9898

9999
class TestPosixCalls:
100-
pytestmark = pytest.mark.skipif(sys.platform != 'win32',
101-
reason="requires Windows")
100+
pytestmark = pytest.mark.skipif(sys.platform == 'win32',
101+
reason="does not run on windows")
102102

103103
def test_function(self):
104104
"will not be setup or run under 'win32' platform"

0 commit comments

Comments
 (0)