From dde8805d51f04af99810ccd0b32522a5bad02e1c Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:05:57 +0200 Subject: [PATCH] [3.13] gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues (GH-125151) (#125173) 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 48ab2297bf6..8ba507cb2b0 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -2706,7 +2706,7 @@ class FMATests(unittest.TestCase): # 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):