Skip to content

Commit 1c57033

Browse files
weixlumiss-islington
authored andcommitted
gh-152563, test_math: Enable fma test on musl 1.2.6 (GH-152564)
(cherry picked from commit 5ea3935) Co-authored-by: Xiaowei Lu <weixlu420302@gmail.com>
1 parent 23bba2f commit 1c57033

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Lib/test/test_math.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2804,11 +2804,8 @@ def test_fma_infinities(self):
28042804
@unittest.skipIf(
28052805
sys.platform.startswith(("freebsd", "wasi", "netbsd", "emscripten"))
28062806
or (sys.platform == "android" and platform.machine() == "x86_64")
2807-
or support.linked_to_musl(), # gh-131032
2807+
or (support.linked_to_musl() and support.linked_to_musl() < (1, 2, 6)), # gh-131032
28082808
f"this platform doesn't implement IEE 754-2008 properly")
2809-
# gh-131032: musl is fixed but the fix is not yet released; when the fixed
2810-
# version is known change this to:
2811-
# or support.linked_to_musl() < (1, <m>, <p>)
28122809
def test_fma_zero_result(self):
28132810
nonnegative_finites = [0.0, 1e-300, 2.3, 1e300]
28142811

0 commit comments

Comments
 (0)