Skip to content

Commit 9e063dc

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 ed38a08 commit 9e063dc

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
@@ -2687,11 +2687,8 @@ def test_fma_infinities(self):
26872687
@unittest.skipIf(
26882688
sys.platform.startswith(("freebsd", "wasi", "netbsd", "emscripten"))
26892689
or (sys.platform == "android" and platform.machine() == "x86_64")
2690-
or support.linked_to_musl(), # gh-131032
2690+
or (support.linked_to_musl() and support.linked_to_musl() < (1, 2, 6)), # gh-131032
26912691
f"this platform doesn't implement IEE 754-2008 properly")
2692-
# gh-131032: musl is fixed but the fix is not yet released; when the fixed
2693-
# version is known change this to:
2694-
# or support.linked_to_musl() < (1, <m>, <p>)
26952692
def test_fma_zero_result(self):
26962693
nonnegative_finites = [0.0, 1e-300, 2.3, 1e300]
26972694

0 commit comments

Comments
 (0)