Fix same inconsistency in next example

This commit is contained in:
Bruno Oliveira 2015-12-05 00:43:06 -02:00
parent 1bed514eb6
commit 382efc6363
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ If your code targets python2.5 where class-decorators are not available,
you can set the ``pytestmark`` attribute of a class::
class TestPosixCalls:
pytestmark = pytest.mark.skipif(sys.platform != 'win32',
reason="requires Windows")
pytestmark = pytest.mark.skipif(sys.platform == 'win32',
reason="does not run on windows")
def test_function(self):
"will not be setup or run under 'win32' platform"