[issue5724] 2.6.2c1 fails to pass test_cmath on Solaris10

Skip Montanaro report at bugs.python.org
Sat Apr 11 16:06:37 CEST 2009


Skip Montanaro <skip at pobox.com> added the comment:

Mark> Here's a patch that backports the corresponding changes from
    Mark> trunk.

    Mark> Skip, can you confirm that this fixes the issue?

Indeed, your patch appears to fix the problem:

    % LD_LIBRARY_PATH=. ./python Lib/test/regrtest.py -v test_cmath
    test_cmath
    test_abs (test.test_cmath.CMathTests) ... ok
    test_cmath_matches_math (test.test_cmath.CMathTests) ... ok
    test_constants (test.test_cmath.CMathTests) ... ok
    test_input_type (test.test_cmath.CMathTests) ... ok
    test_isinf (test.test_cmath.CMathTests) ... ok
    test_isnan (test.test_cmath.CMathTests) ... ok
    test_phase (test.test_cmath.CMathTests) ... ok
    test_polar (test.test_cmath.CMathTests) ... ok
    test_rect (test.test_cmath.CMathTests) ... ok
    test_specific_values (test.test_cmath.CMathTests) ... ok
    test_user_object (test.test_cmath.CMathTests) ... ok

    ----------------------------------------------------------------------
    Ran 11 tests in 0.063s

    OK
    1 test OK.

I'll leave it to you and Barry to consider if the patch is too hefty for
backport.

Skip

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5724>
_______________________________________


More information about the Python-bugs-list mailing list