File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ def only_windows(reason: str = "Only required on Windows.", ) -> _pytest.mark.st
292
292
return pytest .mark .skipif (condition = sys .platform != "win32" , reason = reason )
293
293
294
294
295
- def not_pypy (reason : str = "Not required on PyPy." , ) -> _pytest .mark .structures .MarkDecorator :
295
+ def not_pypy (reason : str = "Not required on PyPy." ) -> _pytest .mark .structures .MarkDecorator :
296
296
"""
297
297
Factory function to return a ``@pytest.mark.skipif`` decorator that will
298
298
skip a test if the current Python implementation is PyPy.
@@ -305,7 +305,7 @@ def not_pypy(reason: str = "Not required on PyPy.", ) -> _pytest.mark.structures
305
305
return pytest .mark .skipif (condition = PYPY , reason = reason )
306
306
307
307
308
- def only_pypy (reason : str = "Only required on PyPy." , ) -> _pytest .mark .structures .MarkDecorator :
308
+ def only_pypy (reason : str = "Only required on PyPy." ) -> _pytest .mark .structures .MarkDecorator :
309
309
"""
310
310
Factory function to return a ``@pytest.mark.skipif`` decorator that will
311
311
skip a test if the current Python implementation is not PyPy.
@@ -315,4 +315,4 @@ def only_pypy(reason: str = "Only required on PyPy.", ) -> _pytest.mark.structur
315
315
.. versionadded:: 0.9.0
316
316
"""
317
317
318
- return pytest .mark .skipif (condition = PYPY , reason = reason )
318
+ return pytest .mark .skipif (condition = not PYPY , reason = reason )
You can’t perform that action at this time.
0 commit comments