Message 68549 - Python tracker (original) (raw)

There is on cmath test failure with 64-bit Python 2.6b1 and 3.0b1 on Solaris 10. The failure does not occur in the 32-bit builds.

All builds are compiled with Sun's C compiler using the same options (except -xtarget=native vs -xtarget=native64).

====================================================================== FAIL: test_cmath_matches_math (main.CMathTests)

Traceback (most recent call last): File "Lib/test/test_cmath.py", line 294, in test_cmath_matches_math self.rAssertAlmostEqual(math.log(v, base), z.real) File "Lib/test/test_cmath.py", line 128, in rAssertAlmostEqual self.fail("%s and %s are not sufficiently close" % (repr(a), repr(b))) AssertionError: 6.6438561897747244 and 0.71244141339823108 are not sufficiently close