From 1ba23921259afadfb8cac1d615733db25c649538 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sat, 6 Sep 2025 13:14:44 -0500 Subject: [PATCH] gh-90548: Skip ctypes test_null_dlsym when linked to musl The test relies on glibc-specific behavior. --- Lib/test/test_ctypes/test_dlerror.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_ctypes/test_dlerror.py b/Lib/test/test_ctypes/test_dlerror.py index 8af34e62b94faa..5658234f9ec66b 100644 --- a/Lib/test/test_ctypes/test_dlerror.py +++ b/Lib/test/test_ctypes/test_dlerror.py @@ -32,6 +32,7 @@ @unittest.skipUnless(sys.platform.startswith('linux'), 'test requires GNU IFUNC support') +@unittest.skipIf(test.support.linked_to_musl(), "Requires glibc") class TestNullDlsym(unittest.TestCase): """GH-126554: Ensure that we catch NULL dlsym return values