[pypy-issue] [issue1734] numpy: test_imag_real gives incorrect outputs
lesshaste
tracker at bugs.pypy.org
Sat Apr 12 10:49:05 CEST 2014
lesshaste <drraph at gmail.com> added the comment:
This may be more interesting...
======================================================================
FAIL: Check complex
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/raph/Downloads/pypy-2.3-alpha-20140405-linux_x86_64-portable/bin/my-env/site-packages/numpy/ma/tests/test_core.py",
line 1091, in test_imag_real
assert_equal(xx.imag, [10, 2])
File
"/home/raph/Downloads/pypy-2.3-alpha-20140405-linux_x86_64-portable/bin/my-env/site-packages/numpy/ma/testutils.py",
line 123, in assert_equal
return assert_array_equal(actual, desired, err_msg)
File
"/home/raph/Downloads/pypy-2.3-alpha-20140405-linux_x86_64-portable/bin/my-env/site-packages/numpy/ma/testutils.py",
line 196, in assert_array_equal
header='Arrays are not equal')
File
"/home/raph/Downloads/pypy-2.3-alpha-20140405-linux_x86_64-portable/bin/my-env/site-packages/numpy/ma/testutils.py",
line 189, in assert_array_compare
verbose=verbose, header=header)
File
"/home/raph/Downloads/pypy-2.3-alpha-20140405-linux_x86_64-portable/bin/my-env/site-packages/numpy/testing/utils.py",
line 644, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 50.0%)
x: array([ 1., 20.])
y: array([1, 2])
----------
status: unread -> chatting
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1734>
________________________________________
More information about the pypy-issue
mailing list