Michael Felt <aixto...@felt.demon.nl> added the comment:
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' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39396> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com