[New-bugs-announce] [issue2114] test_decimal failure on OSX 10.3

Ronald Oussoren report at bugs.python.org
Thu Feb 14 17:17:28 CET 2008


New submission from Ronald Oussoren:

test_decimal fails on Mac OS X 10.3 when using Python 2.5.2c1. I haven't 
tested other python versions. The same test passes on OSX 10.4 and 10.5 
(both on Intel and PPC machines), this was done using the same binaries 
(the Python.org build for 2.5.2c1).

The end of the output of "python test_decimal.py" is:


======================================================================
FAIL: test_normalize (__main__.DecimalTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_decimal.py", line 1351, in <lambda>
    tester = lambda self, f=filename: self.eval_file(directory + f)
  File "test_decimal.py", line 213, in eval_file
    self.fail('Exception "'+exception.__class__.__name__ + '" raised on 
line '+line)
AssertionError: Exception "Clamped" raised on line nrmx218 normalize  
0.001E-999       ->   0         Inexact Rounded Subnormal Underflow

----------------------------------------------------------------------
Ran 189 tests in 35.947s

FAILED (failures=1)
Traceback (most recent call last):
  File "test_decimal.py", line 1376, in <module>
    test_main(arith=True, verbose=True)
  File "test_decimal.py", line 1357, in test_main
    run_unittest(*test_classes)
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/te
st_support.py", line 451, in run_unittest
    run_suite(suite, testclass)
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/te
st_support.py", line 436, in run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "test_decimal.py", line 1351, in <lambda>
    tester = lambda self, f=filename: self.eval_file(directory + f)
  File "test_decimal.py", line 213, in eval_file
    self.fail('Exception "'+exception.__class__.__name__ + '" raised on 
line '+line)
AssertionError: Exception "Clamped" raised on line nrmx218 normalize  
0.001E-999       ->   0         Inexact Rounded Subnormal Underflow

----------
components: Library (Lib)
messages: 62395
nosy: ronaldoussoren
severity: normal
status: open
title: test_decimal failure on OSX 10.3
type: behavior
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2114>
__________________________________


More information about the New-bugs-announce mailing list