From 7d58461fdb02915aa1c93cba8e8e10201bd47696 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sat, 6 Sep 2025 14:01:18 -0500 Subject: [PATCH] gh-90548: Skip ctypes test_null_dlsym when linked to musl (GH-138592) 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 8af34e62b94f..5658234f9ec6 100644 --- a/Lib/test/test_ctypes/test_dlerror.py +++ b/Lib/test/test_ctypes/test_dlerror.py @@ -32,6 +32,7 @@ void *foo(void) @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 -- 2.47.3