summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_math.py
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-06-19 20:09:54 (GMT)
committerSteve Dower <steve.dower@python.org>2019-06-19 20:09:54 (GMT)
commitf355069a3337711642c3403429afb9faef93f512 (patch)
treec2a749be8e1921205c676ecdb22fe8703d947c42 /Lib/test/test_math.py
parent12f1c726d8328e5e096c35c36901f6d19bc942d3 (diff)
downloadcpython-f355069a3337711642c3403429afb9faef93f512.zip
cpython-f355069a3337711642c3403429afb9faef93f512.tar.gz
cpython-f355069a3337711642c3403429afb9faef93f512.tar.bz2
bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot (GH-13454)
Diffstat (limited to 'Lib/test/test_math.py')
-rw-r--r--Lib/test/test_math.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index fa69044..362d093 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -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)