Fix same inconsistency in next example
This commit is contained in:
parent
1bed514eb6
commit
382efc6363
|
@ -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::
|
you can set the ``pytestmark`` attribute of a class::
|
||||||
|
|
||||||
class TestPosixCalls:
|
class TestPosixCalls:
|
||||||
pytestmark = pytest.mark.skipif(sys.platform != 'win32',
|
pytestmark = pytest.mark.skipif(sys.platform == 'win32',
|
||||||
reason="requires Windows")
|
reason="does not run on windows")
|
||||||
|
|
||||||
def test_function(self):
|
def test_function(self):
|
||||||
"will not be setup or run under 'win32' platform"
|
"will not be setup or run under 'win32' platform"
|
||||||
|
|
Loading…
Reference in New Issue