Fix inconsistency in skipif example

Fix #1224
This commit is contained in:
Bruno Oliveira 2015-12-05 00:35:31 -02:00
parent 41f19796e8
commit 1bed514eb6
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ As with all function :ref:`marking <mark>` you can skip test functions at the
`whole class- or module level`_. If your code targets python2.6 or above you `whole class- or module level`_. If your code targets python2.6 or above you
use the skipif decorator (and any other marker) on classes:: use the skipif decorator (and any other marker) on classes::
@pytest.mark.skipif(sys.platform != 'win32', @pytest.mark.skipif(sys.platform == 'win32',
reason="requires windows") reason="does not run on windows")
class TestPosixCalls: class TestPosixCalls:
def test_function(self): def test_function(self):