mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-131032: Add support.linked_to_musl() function (#131071)
Skip test_math.test_fma_zero_result() if Python is linked to the musl C library.
This commit is contained in:
parent
2ed671b5e3
commit
68922ace4d
3 changed files with 25 additions and 1 deletions
|
@ -744,6 +744,10 @@ class TestSupport(unittest.TestCase):
|
|||
self.assertEqual(support.get_signal_name(exitcode), expected,
|
||||
exitcode)
|
||||
|
||||
def test_linked_to_musl(self):
|
||||
linked = support.linked_to_musl()
|
||||
self.assertIsInstance(linked, bool)
|
||||
|
||||
# XXX -follows a list of untested API
|
||||
# make_legacy_pyc
|
||||
# is_resource_enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue