]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementat...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 9 Oct 2024 09:05:57 +0000 (11:05 +0200)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2024 09:05:57 +0000 (09:05 +0000)
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 <furkanonder@protonmail.com>
Lib/test/test_math.py

index 48ab2297bf65fa08d6fe8a09225577b49ce60b9a..8ba507cb2b0290f482e3c50c72456993ba188ca8 100644 (file)
@@ -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):