This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Felt
Recipients Michael.Felt, mark.dickinson, vstinner
Date 2020-01-20.14:04:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579529081.24.0.0813702914264.issue39396@roundup.psfhosted.org>
In-reply-to
Content
FYI: On AIX 5.3, after your proposal I get:

======================================================================
FAIL: test_specific_values (test.test_cmath.CMathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/prj/python/git/python3-3.9/Lib/test/test_cmath.py", line 418, in test_specific_values
    self.rAssertAlmostEqual(expected.imag, actual.imag,
  File "/data/prj/python/git/python3-3.9/Lib/test/test_cmath.py", line 130, in rAssertAlmostEqual
    self.fail(msg or 'zero has wrong sign: expected {!r}, '
AssertionError: exp0001: exp(complex(0.0, -0.0))
Expected: complex(1.0, -0.0)
Received: complex(1.0, 0.0)
Received value insufficiently close to expected value.

----------------------------------------------------------------------

So, test_nextafter works with the patch, but test_specific_values remains 'active'
History
Date User Action Args
2020-01-20 14:04:41Michael.Feltsetrecipients: + Michael.Felt, mark.dickinson, vstinner
2020-01-20 14:04:41Michael.Feltsetmessageid: <1579529081.24.0.0813702914264.issue39396@roundup.psfhosted.org>
2020-01-20 14:04:41Michael.Feltlinkissue39396 messages
2020-01-20 14:04:40Michael.Feltcreate