Skip some tests on PyPy

This commit is contained in:
JRoot Junior 2023-11-17 00:42:06 +02:00
parent 444ed91bbd
commit 2b36338ca2
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,5 @@
import inspect
import platform
from datetime import datetime
from unittest.mock import ANY, AsyncMock, patch
@ -232,6 +233,7 @@ class TestActionContainer:
class TestSceneHandlerWrapper:
@pytest.mark.skipif("PyPy" in platform.python_implementation(), reason="Test skipped on PyPy.")
async def test_scene_handler_wrapper_call(self):
class MyScene(Scene):
pass
@ -263,6 +265,7 @@ class TestSceneHandlerWrapper:
# Check whether result is correct
assert result == handler_mock.return_value
@pytest.mark.skipif("PyPy" in platform.python_implementation(), reason="Test skipped on PyPy.")
async def test_scene_handler_wrapper_call_with_after(self):
class MyScene(Scene):
pass