◐ Shell
clean mode source ↗

Message 68918 - Python tracker

Dunno about Sun's compiler, but I get test errors on Solaris 10 using 
gcc 4.2:

======================================================================
FAIL: test_specific_values (test.test_cmath.CMathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tuba/skipm/src/python-svn/trunk/Lib/test/test_cmath.py", 
line 338, in test_specific_values
    self.fail('OverflowError not raised in test %s' % test_str)
AssertionError: OverflowError not raised in test exp0052: 
exp(complex(710.0, 1.5))

----------------------------------------------------------------------
Ran 11 tests in 0.067s

FAILED (failures=1)
test test_cmath failed -- Traceback (most recent call last):
  File "/home/tuba/skipm/src/python-svn/trunk/Lib/test/test_cmath.py", 
line 338, in test_specific_values
    self.fail('OverflowError not raised in test %s' % test_str)
AssertionError: OverflowError not raised in test exp0052: 
exp(complex(710.0, 1.5))

======================================================================
FAIL: testLog (test.test_math.MathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tuba/skipm/src/python-svn/trunk/Lib/test/test_math.py", 
line 419, in testLog
    self.assertRaises(ValueError, math.log, NINF)
AssertionError: ValueError not raised

======================================================================
FAIL: testLog10 (test.test_math.MathTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tuba/skipm/src/python-svn/trunk/Lib/test/test_math.py", 
line 441, in testLog10
    self.assertRaises(ValueError, math.log10, NINF)
AssertionError: ValueError not raised