diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-13 09:33:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 09:33:46 (GMT) |
commit | 68922ace4dabb6635e6d5b51bbe6485ef2e9dad2 (patch) | |
tree | e8c8645b13f5505783d9218062bd6b15ca5d44a0 /Lib/test/test_support.py | |
parent | 2ed671b5e3a64183ed2af220dd37c6b5182f52d3 (diff) | |
download | cpython-68922ace4dabb6635e6d5b51bbe6485ef2e9dad2.zip cpython-68922ace4dabb6635e6d5b51bbe6485ef2e9dad2.tar.gz cpython-68922ace4dabb6635e6d5b51bbe6485ef2e9dad2.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r-- | Lib/test/test_support.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index d900db5..46d7963 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -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 |