From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:05:57 +0000 (+0200) Subject: [3.13] gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementat... X-Git-Tag: v3.13.1~349 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dde8805d51f04af99810ccd0b32522a5bad02e1c;p=thirdparty%2FPython%2Fcpython.git [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 --- diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index 48ab2297bf65..8ba507cb2b02 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):