diff options
author | Mark Dickinson <mdickinson@enthought.com> | 2012-08-18 11:24:30 (GMT) |
---|---|---|
committer | Mark Dickinson <mdickinson@enthought.com> | 2012-08-18 11:24:30 (GMT) |
commit | 05d79e9abfac38878298e4381c9166e58488664a (patch) | |
tree | bf5cab95e59ccc598eb7b9c3707efa65fd0040f2 /Lib/test/test_cmath.py | |
parent | 31a11902b3c2483998cee2573deb42ac9e0e24c0 (diff) | |
download | cpython-05d79e9abfac38878298e4381c9166e58488664a.zip cpython-05d79e9abfac38878298e4381c9166e58488664a.tar.gz cpython-05d79e9abfac38878298e4381c9166e58488664a.tar.bz2 |
Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.
Diffstat (limited to 'Lib/test/test_cmath.py')
-rw-r--r-- | Lib/test/test_cmath.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_cmath.py b/Lib/test/test_cmath.py index 4e93be4..692ea36 100644 --- a/Lib/test/test_cmath.py +++ b/Lib/test/test_cmath.py @@ -519,15 +519,11 @@ class CMathTests(unittest.TestCase): # of zero, then atan and atanh will also have difficulties with # the sign of complex zeros. @requires_IEEE_754 - @unittest.skipIf(sysconfig.get_config_var('LOG1P_DROPS_ZERO_SIGN'), - "system log1p() function doesn't preserve the sign") def testAtanSign(self): for z in complex_zeros: self.assertComplexIdentical(cmath.atan(z), z) @requires_IEEE_754 - @unittest.skipIf(sysconfig.get_config_var('LOG1P_DROPS_ZERO_SIGN'), - "system log1p() function doesn't preserve the sign") def testAtanhSign(self): for z in complex_zeros: self.assertComplexIdentical(cmath.atanh(z), z) |