https://github.com/python/cpython/commit/7efa72a6e41e85eb0cff27daac58704b199f5832 commit: 7efa72a6e41e85eb0cff27daac58704b199f5832 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: vstinner <[email protected]> date: 2026-03-26T00:42:27Z summary:
[3.14] gh-138573: Filter out failing math tests on Solaris (GH-146402) (#146438) gh-138573: Filter out failing math tests on Solaris (GH-146402) (cherry picked from commit 8e1469c952fb9db57efdcdce459fd6f78fbaeea3) Co-authored-by: Sergey B Kirpichev <[email protected]> files: M Lib/test/test_cmath.py M Lib/test/test_math.py diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py index a96a5780b31b6f..389a3fa0e0a1eb 100644 --- a/Lib/test/test_cmath.py +++ b/Lib/test/test_cmath.py @@ -406,6 +406,8 @@ def polar_with_errno_set(z): _testcapi.set_errno(0) self.check_polar(polar_with_errno_set) + @unittest.skipIf(sys.platform.startswith("sunos"), + "skipping, see gh-138573") def test_phase(self): self.assertAlmostEqual(phase(0), 0.) self.assertAlmostEqual(phase(1.), 0.) diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index d14336f8bac498..5f64df60c92a3f 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -324,6 +324,8 @@ def testAtanh(self): self.assertRaises(ValueError, math.atanh, NINF) self.assertTrue(math.isnan(math.atanh(NAN))) + @unittest.skipIf(sys.platform.startswith("sunos"), + "skipping, see gh-138573") def testAtan2(self): self.assertRaises(TypeError, math.atan2) self.ftest('atan2(-1, 0)', math.atan2(-1, 0), -math.pi/2) _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
