From 2c4acb05c458697e44ee6b116b2b81fe0218510a Mon Sep 17 00:00:00 2001 From: Furkan Onder Date: Wed, 9 Oct 2024 11:40:06 +0300 Subject: [PATCH] gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues (GH-125151) Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues (cherry picked from commit 92760bd85b8f48b88df5b81100a757048979de83) Co-authored-by: Furkan Onder --- 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 48ab2297bf65fa..8ba507cb2b0290 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -2706,7 +2706,7 @@ def test_fma_infinities(self): # gh-73468: On some platforms, libc fma() doesn't implement IEE 754-2008 # properly: it doesn't use the right sign when the result is zero. @unittest.skipIf( - sys.platform.startswith(("freebsd", "wasi")) + sys.platform.startswith(("freebsd", "wasi", "netbsd")) or (sys.platform == "android" and platform.machine() == "x86_64"), f"this platform doesn't implement IEE 754-2008 properly") def test_fma_zero_result(self):