bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot (GH-13454)

This commit is contained in:
Paul Monson 2019-06-19 13:09:54 -07:00 committed by Steve Dower
parent 12f1c726d8
commit f355069a33
8 changed files with 107 additions and 13 deletions

View file

@ -468,6 +468,8 @@ class MathTests(unittest.TestCase):
self.assertRaises(ValueError, math.cos, NINF)
self.assertTrue(math.isnan(math.cos(NAN)))
@unittest.skipIf(sys.platform == 'win32' and platform.machine() in ('ARM', 'ARM64'),
"Windows UCRT is off by 2 ULP this test requires accuracy within 1 ULP")
def testCosh(self):
self.assertRaises(TypeError, math.cosh)
self.ftest('cosh(0)', math.cosh(0), 1)