summaryrefslogtreecommitdiff
path: root/Lib/test/test_math.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-09-11 17:27:37 -0700
committerBenjamin Peterson <benjamin@python.org>2018-09-11 17:27:37 -0700
commitcb5fa98c9f1810e627b018b2f84e0ecc92deb075 (patch)
tree252289ec43a9185ac912e60ee30df48dfaf55666 /Lib/test/test_math.py
parentb9bf9d025e659b5a1963027eb73690e57cb35dd0 (diff)
downloadcpython-git-benjamin-tanh-zero.tar.gz
closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check.benjamin-tanh-zero
Diffstat (limited to 'Lib/test/test_math.py')
-rw-r--r--Lib/test/test_math.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index 608789f720..9b2f55e1f4 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.)