]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-90548: Skip ctypes test_null_dlsym when linked to musl (GH-138592)
authorZachary Ware <zach@python.org>
Sat, 6 Sep 2025 19:01:18 +0000 (14:01 -0500)
committerGitHub <noreply@github.com>
Sat, 6 Sep 2025 19:01:18 +0000 (14:01 -0500)
The test relies on glibc-specific behavior.

Lib/test/test_ctypes/test_dlerror.py

index 8af34e62b94faa3b234b588934ef8928e90bcf8e..5658234f9ec66bf21f2f943da9772e1edb08e2a2 100644 (file)
@@ -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