summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-09-12 13:51:18 (GMT)
committerGitHub <noreply@github.com>2018-09-12 13:51:18 (GMT)
commit865c17fb28f8c3275fd94da6ee4ac51472ec874a (patch)
treeb66adfd7ef7d535b923e4d8eabd2475b2acbdbcc /Lib
parent7f0d59f3a83cf1a98398b8e5bdfb97c7a71216bd (diff)
downloadcpython-865c17fb28f8c3275fd94da6ee4ac51472ec874a.zip
cpython-865c17fb28f8c3275fd94da6ee4ac51472ec874a.tar.gz
cpython-865c17fb28f8c3275fd94da6ee4ac51472ec874a.tar.bz2
closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check. (GH-9206)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_cmath.py2
-rw-r--r--Lib/test/test_math.py2
2 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py
index 0451fb0..43a074b 100644
--- a/Lib/test/test_cmath.py
+++ b/Lib/test/test_cmath.py
@@ -577,8 +577,6 @@ class CMathTests(unittest.TestCase):
self.assertTrue(cmath.isinf(complex(INF, NAN)))
@requires_IEEE_754
- @unittest.skipIf(sysconfig.get_config_var('TANH_PRESERVES_ZERO_SIGN') == 0,
- "system tanh() function doesn't copy the sign")
def testTanhSign(self):
for z in complex_zeros:
self.assertComplexIdentical(cmath.tanh(z), z)
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index 608789f..9b2f55e 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -1355,8 +1355,6 @@ class MathTests(unittest.TestCase):
self.assertTrue(math.isnan(math.tanh(NAN)))
@requires_IEEE_754
- @unittest.skipIf(sysconfig.get_config_var('TANH_PRESERVES_ZERO_SIGN') == 0,
- "system tanh() function doesn't copy the sign")
def testTanhSign(self):
# check that tanh(-0.) == -0. on IEEE 754 systems
self.assertEqual(math.tanh(-0.), -0.)