[Numpy-discussion] Test bug in reduceat with structured arrays copied for speed.

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Jun 19 10:28:30 CDT 2009


Hi all,

Is this a known failure ?
I am using 1.4.0.dev7069

======================================================================
FAIL: Test bug in reduceat with structured arrays copied 
for speed.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/case.py", 
line 182, in runTest
     self.test(*self.arg)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/core/tests/test_umath.py", 
line 700, in test_reduceat
     assert_array_almost_equal(h1, h2)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 537, in assert_array_almost_equal
     header='Arrays are not almost equal')
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 395, in assert_array_compare
     raise AssertionError(msg)
AssertionError:
Arrays are not almost equal

(mismatch 100.0%)
  x: array([  4.61621844e+24,   4.61621844e+24, 
  4.61621844e+24,
          4.61621844e+24], dtype=float32)
  y: array([  700.,   800.,  1000.,  7500.], 
dtype=float32)

----------------------------------------------------------------------
Ran 2065 tests in 200.909s

FAILED (KNOWNFAIL=1, failures=1)
  
Nils


More information about the Numpy-discussion mailing list