From: Furkan Onder Date: Wed, 9 Oct 2024 08:40:06 +0000 (+0300) Subject: gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation... X-Git-Tag: v3.14.0a1~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92760bd85b8f48b88df5b81100a757048979de83;p=thirdparty%2FPython%2Fcpython.git gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues (#125151) Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues --- diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index a3eebc97ada2..e2e2a419c777 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -2722,7 +2722,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):