]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation...
authorFurkan Onder <furkanonder@protonmail.com>
Wed, 9 Oct 2024 08:40:06 +0000 (11:40 +0300)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2024 08:40:06 +0000 (10:40 +0200)
Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues

Lib/test/test_math.py

index a3eebc97ada23b8b0e0658c3be9668c58acbb5dd..e2e2a419c7778c924cfff573a8b00f87ddc7002a 100644 (file)
@@ -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):