diff --git a/tests/test_protocol_cybinary.py b/tests/test_protocol_cybinary.py index 9831211..c2c452d 100644 --- a/tests/test_protocol_cybinary.py +++ b/tests/test_protocol_cybinary.py @@ -17,7 +17,8 @@ from thriftpy2.transport.memory import TCyMemoryBuffer -pytest.mark.skipif(PYPY, reason="cython not enabled in pypy.") +if PYPY: + pytest.skip("cython not enabled in pypy.", allow_module_level=True) class TItem(TPayload):