From 539c04ef74f924867f9722ade49ed7fdd34545d8 Mon Sep 17 00:00:00 2001 From: Lu Xiaowei Date: Mon, 29 Jun 2026 16:34:01 +0800 Subject: [PATCH] gh-152563: Enable fma test on Alpine Linux (musl C library) --- Lib/test/test_math.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index cc37697189af3e5..a27996dd01c9d12 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -2682,11 +2682,8 @@ def test_fma_infinities(self): @unittest.skipIf( sys.platform.startswith(("freebsd", "wasi", "netbsd", "emscripten", "cygwin")) 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") - # gh-131032: musl is fixed but the fix is not yet released; when the fixed - # version is known change this to: - # or support.linked_to_musl() < (1, ,

) def test_fma_zero_result(self): nonnegative_finites = [0.0, 1e-300, 2.3, 1e300]