From c903e2dac06dca05c8f305611a5b05d3fcdf3c69 Mon Sep 17 00:00:00 2001 From: Kevin Chang Date: Tue, 24 Oct 2023 13:05:01 -0700 Subject: [PATCH] change to xfail --- tests/test_manylinux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")