mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +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.
(cherry picked from commit 68922ace4d
)
This commit is contained in:
parent
589382bd04
commit
050813c026
3 changed files with 26 additions and 2 deletions
|
@ -733,6 +733,10 @@ class TestSupport(unittest.TestCase):
|
|||
self.assertEqual(support.copy_python_src_ignore(path, os.listdir(path)),
|
||||
ignored)
|
||||
|
||||
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