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
292292 return pytest .mark .skipif (condition = sys .platform != "win32" , reason = reason )
293293
294294
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 :
296296 """
297297 Factory function to return a ``@pytest.mark.skipif`` decorator that will
298298 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
305305 return pytest .mark .skipif (condition = PYPY , reason = reason )
306306
307307
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 :
309309 """
310310 Factory function to return a ``@pytest.mark.skipif`` decorator that will
311311 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
315315 .. versionadded:: 0.9.0
316316 """
317317
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