> I have also re-enabled unit tests.
> They should work now, but, please, test the fix on your platform.

:(((

======================================================================
FAIL: test_reductions (__main__.test_numexpr1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "numexpr/tests/test_numexpr.py", line 76, in test_reductions
    assert_almost_equal(evaluate("sum(x+2,axis=0)"), sum(x+2,axis=0))
  File "/usr/lib/pymodules/python2.6/numpy/testing/utils.py", line 447, in 
assert_almost_equal
    return assert_array_almost_equal(actual, desired, decimal, err_msg)
  File "/usr/lib/pymodules/python2.6/numpy/testing/utils.py", line 774, in 
assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/usr/lib/pymodules/python2.6/numpy/testing/utils.py", line 618, in 
assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal

(mismatch 100.0%)
 x: array(201000.00000017491)
 y: array(201000.00000000009)

======================================================================
FAIL: test_reductions (__main__.test_numexpr2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "numexpr/tests/test_numexpr.py", line 76, in test_reductions
    assert_almost_equal(evaluate("sum(x+2,axis=0)"), sum(x+2,axis=0))
  File "/usr/lib/pymodules/python2.6/numpy/testing/utils.py", line 447, in 
assert_almost_equal
    return assert_array_almost_equal(actual, desired, decimal, err_msg)
  File "/usr/lib/pymodules/python2.6/numpy/testing/utils.py", line 774, in 
assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/usr/lib/pymodules/python2.6/numpy/testing/utils.py", line 618, in 
assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal

(mismatch 100.0%)
 x: array(201000.00000017491)
 y: array(201000.00000000009)

----------------------------------------------------------------------
Ran 5145 tests in 14.920s


so it seems that it is not ok.
the almost is not 1e-6 1e-7 ?

See you

Frederic


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

  • Bug#657733: Antonio Valentino
    • Bug#657733: Picca Frédéric-Emmanuel
    • Bug#657733: RE : Bug#657733: PICCA Frédéric-Emmanuel

Reply via email to