New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_decimal failure on OSX 10.3 #46368
Comments
test_decimal fails on Mac OS X 10.3 when using Python 2.5.2c1. I haven't The end of the output of "python test_decimal.py" is: ====================================================================== 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 |
It looks like you've got a stale normalize.decTest file in |
I did an upgrade install on the OSX 10.3. Doing a clean install removes I'm therefore closing this issue as invalid. Sorry about the noise. |
Hmm. But others may run into this problem as well. Is there any way to force the upgrade install to remove this file? |
OSX installer is lame. The only way to work around this is to have pre- As this only affects the unittests I don't think this is worth the |
A cheap and easy fix would be to update normalize.decTest so that's it's (What happened here is that Mike Cowlishaw fixed some buggy tests in But I agree that it's not a disaster if this doesn't get fixed. It's |
That's a good idea. I'll try to get this into the installer before 2.5.2 |
I've applied the workaround in revision 60903 (after testing that it |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: