mirror of
https://github.com/python/cpython.git
synced 2026-04-14 07:41:00 +00:00
gh-138573: Filter out failing math tests on Solaris (#146402)
This commit is contained in:
parent
9343518c6f
commit
8e1469c952
2 changed files with 4 additions and 0 deletions
|
|
@ -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.)
|
||||
|
|
|
|||
|
|
@ -291,6 +291,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue