From fe7d82d5662fe4a3688f214486d067f67fc308f4 Mon Sep 17 00:00:00 2001 From: Xiaowei Lu Date: Fri, 14 Aug 2026 03:46:54 +0800 Subject: [PATCH] gh-152563, test_math: Enable fma test on musl 1.2.6 (GH-152564) (cherry picked from commit 5ea393501e308586a689acab6d78ff74b365045b) Co-authored-by: Xiaowei Lu --- Lib/test/test_math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index eac5a1c765b6df5..b678420e9cf1f9d 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -2743,7 +2743,7 @@ def test_fma_infinities(self): @unittest.skipIf( sys.platform.startswith(("freebsd", "wasi", "netbsd", "emscripten")) or (sys.platform == "android" and platform.machine() == "x86_64") - or support.linked_to_musl(), # gh-131032 + or (support.linked_to_musl() and support.linked_to_musl() < (1, 2, 6)), # gh-131032 f"this platform doesn't implement IEE 754-2008 properly") def test_fma_zero_result(self): nonnegative_finites = [0.0, 1e-300, 2.3, 1e300]