From: Zachary Ware Date: Sat, 6 Sep 2025 19:01:18 +0000 (-0500) Subject: gh-90548: Skip ctypes test_null_dlsym when linked to musl (GH-138592) X-Git-Tag: v3.15.0a1~466 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d58461fdb02915aa1c93cba8e8e10201bd47696;p=thirdparty%2FPython%2Fcpython.git gh-90548: Skip ctypes test_null_dlsym when linked to musl (GH-138592) The test relies on glibc-specific behavior. --- 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