diff --git a/tests/test_manylinux.py b/tests/test_manylinux.py index d7edc601..554059fc 100644 --- a/tests/test_manylinux.py +++ b/tests/test_manylinux.py @@ -140,7 +140,7 @@ def test_glibc_version_string_ctypes_missing(monkeypatch): assert _glibc_version_string_ctypes() is None -@pytest.mark.skipif(not ctypes, reason="requires ctypes") +@pytest.mark.xfail(ctypes is None, reason="ctypes not available") def test_glibc_version_string_ctypes_raise_oserror(monkeypatch): def patched_cdll(name): raise OSError("Dynamic loading not supported")