https://github.com/python/cpython/commit/7d58461fdb02915aa1c93cba8e8e10201bd47696
commit: 7d58461fdb02915aa1c93cba8e8e10201bd47696
branch: main
author: Zachary Ware <[email protected]>
committer: zware <[email protected]>
date: 2025-09-06T14:01:18-05:00
summary:

gh-90548: Skip ctypes test_null_dlsym when linked to musl (GH-138592)

The test relies on glibc-specific behavior.

files:
M Lib/test/test_ctypes/test_dlerror.py

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')
[email protected](test.support.linked_to_musl(), "Requires glibc")
 class TestNullDlsym(unittest.TestCase):
     """GH-126554: Ensure that we catch NULL dlsym return values
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to