Skip to content

Commit 13c3265

Browse files
committed
Add skip for pypy libev tests
1 parent 07333f7 commit 13c3265

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/datastore_cassandradriver/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
DB_SETTINGS = cassandra_settings()
2525
PYTHON_VERSION = sys.version_info
26+
IS_PYPY = hasattr(sys, "pypy_version_info")
2627

2728

2829
_default_settings = {
@@ -48,6 +49,8 @@ def connection_class(request):
4849
reactor_name = request.param
4950

5051
if reactor_name == "Libev":
52+
if IS_PYPY:
53+
pytest.skip(reason="Libev not available for PyPy.")
5154
from cassandra.io.libevreactor import LibevConnection as Connection
5255
elif reactor_name == "AsyncCore":
5356
if PYTHON_VERSION >= (3, 12):

0 commit comments

Comments
 (0)