[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 92760bd85b)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
This commit is contained in:
Miss Islington (bot) 2024-10-09 11:05:57 +02:00 committed by GitHub
parent 5f2a5ac9dc
commit dde8805d51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2706,7 +2706,7 @@ class FMATests(unittest.TestCase):
# gh-73468: On some platforms, libc fma() doesn't implement IEE 754-2008 # 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. # properly: it doesn't use the right sign when the result is zero.
@unittest.skipIf( @unittest.skipIf(
sys.platform.startswith(("freebsd", "wasi")) sys.platform.startswith(("freebsd", "wasi", "netbsd"))
or (sys.platform == "android" and platform.machine() == "x86_64"), or (sys.platform == "android" and platform.machine() == "x86_64"),
f"this platform doesn't implement IEE 754-2008 properly") f"this platform doesn't implement IEE 754-2008 properly")
def test_fma_zero_result(self): def test_fma_zero_result(self):