closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check. (GH-9206)

This commit is contained in:
Benjamin Peterson 2018-09-12 06:51:18 -07:00 committed by GitHub
parent 7f0d59f3a8
commit 865c17fb28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 81 deletions

View file

@ -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)