Skip to content

Commit

Permalink
Skip test_glibc_version_string_ctypes_raise_oserror if ctypes is …
Browse files Browse the repository at this point in the history
…unavailable (#741)

Co-authored-by: Kevin Chang <kevin.chang2@capitalone.com>
  • Loading branch information
kevinchang96 and Kevin Chang committed Oct 27, 2023
1 parent 7e4f258 commit 2f83540
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_manylinux.py
Expand Up @@ -140,6 +140,7 @@ def test_glibc_version_string_ctypes_missing(monkeypatch):
assert _glibc_version_string_ctypes() is None


@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")
Expand Down

0 comments on commit 2f83540

Please sign in to comment.