Skip to content

Commit c49bb6d

Browse files
zwaremiss-islington
authored andcommitted
gh-90548: Skip ctypes test_null_dlsym when linked to musl (GH-138592)
The test relies on glibc-specific behavior. (cherry picked from commit 7d58461) Co-authored-by: Zachary Ware <[email protected]>
1 parent 9cc2b25 commit c49bb6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_ctypes/test_dlerror.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
@unittest.skipUnless(sys.platform.startswith('linux'),
3434
'test requires GNU IFUNC support')
35+
@unittest.skipIf(test.support.linked_to_musl(), "Requires glibc")
3536
class TestNullDlsym(unittest.TestCase):
3637
"""GH-126554: Ensure that we catch NULL dlsym return values
3738

0 commit comments

Comments
 (0)