summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-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.)