[NumPy-Tickets] [NumPy] #1755: Raise-FPE test failure on Windows
NumPy Trac
numpy-tickets@scipy....
Sun Mar 27 05:35:57 CDT 2011
#1755: Raise-FPE test failure on Windows
-----------------------------------------+----------------------------------
Reporter: rgommers | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: 1.5.1
Keywords: power, floating point error |
-----------------------------------------+----------------------------------
Changes (by rgommers):
* milestone: 1.6.0 => Unscheduled
Comment:
The same happens on OS X 10.5 PPC:
{{{
======================================================================
FAIL: Test basic arithmetic function errors
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sw/lib/python3.2/site-packages/numpy/testing/decorators.py",
line 216, in knownfailer
return f(*args, **kwargs)
File "/sw/lib/python3.2/site-packages/numpy/core/tests/
test_numeric.py", line 352, in test_floating_exceptions_power
np.power, ftype(2), ftype(2**fi.nexp))
File "/sw/lib/python3.2/site-packages/numpy/core/tests/
test_numeric.py", line 261, in assert_raises_fpe
"Type %s did not raise fpe error '%s'." % (ftype, fpeerr))
File "/sw/lib/python3.2/site-packages/numpy/testing/utils.py", line
34, in assert_
raise AssertionError(msg)
AssertionError: Type <class 'numpy.float128'> did not raise fpe error
'overflow'.
}}}
On OS X PPC there are more failures:
{{{
======================================================================
FAIL: Test basic arithmetic function errors
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sw/lib/python3.2/site-packages/numpy/core/tests/
test_numeric.py", line 308, in test_floating_exceptions
lambda a,b:a/b, ft_tiny, ft_max)
File "/sw/lib/python3.2/site-packages/numpy/core/tests/
test_numeric.py", line 261, in assert_raises_fpe
"Type %s did not raise fpe error '%s'." % (ftype, fpeerr))
File "/sw/lib/python3.2/site-packages/numpy/testing/utils.py", line
34, in assert_
raise AssertionError(msg)
AssertionError: Type <class 'numpy.float128'> did not raise fpe error
'underflow'.
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1755#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list