[NumPy-Tickets] [NumPy] #1534: FAIL: test_print.test_complex_types(<type 'numpy.complex64'>, )
NumPy Trac
numpy-tickets@scipy....
Sat Jul 3 08:50:17 CDT 2010
#1534: FAIL: test_print.test_complex_types(<type 'numpy.complex64'>,)
---------------------------------------------+------------------------------
Reporter: vincentdavis | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 2.0.0
Component: Other | Version: devel
Keywords: formatting, complex, test_print |
---------------------------------------------+------------------------------
Results as run on Mac os x 10.6.4, python 2.7, numpy 2.0.0Dev, built 64bit
======================================================================
FAIL: test_print.test_complex_types(<type 'numpy.complex64'>,)
Check formatting of complex types.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/nose/case.py",
line 186, in runTest
self.test(*self.arg)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/core/tests/test_print.py",
line 61, in check_complex_type
err_msg='Failed str formatting for type %s' % tp)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/testing/utils.py",
line 313, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal: Failed str formatting for type <type
'numpy.complex64'>
ACTUAL: '-1j'
DESIRED: '(-0-1j)'
>> raise AssertionError("\nItems are not equal: Failed str formatting for
type <type 'numpy.complex64'>\n ACTUAL: '-1j'\n DESIRED: '(-0-1j)'")
======================================================================
FAIL: test_print.test_complex_types(<type 'numpy.complex128'>,)
Check formatting of complex types.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/nose/case.py",
line 186, in runTest
self.test(*self.arg)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/core/tests/test_print.py",
line 61, in check_complex_type
err_msg='Failed str formatting for type %s' % tp)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/testing/utils.py",
line 313, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal: Failed str formatting for type <type
'numpy.complex128'>
ACTUAL: '-1j'
DESIRED: '(-0-1j)'
>> raise AssertionError("\nItems are not equal: Failed str formatting for
type <type 'numpy.complex128'>\n ACTUAL: '-1j'\n DESIRED: '(-0-1j)'")
======================================================================
FAIL: test_print.test_complex_types(<type 'numpy.complex256'>,)
Check formatting of complex types.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/nose/case.py",
line 186, in runTest
self.test(*self.arg)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/core/tests/test_print.py",
line 61, in check_complex_type
err_msg='Failed str formatting for type %s' % tp)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/testing/utils.py",
line 313, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal: Failed str formatting for type <type
'numpy.complex256'>
ACTUAL: '-1j'
DESIRED: '(-0-1j)'
>> raise AssertionError("\nItems are not equal: Failed str formatting for
type <type 'numpy.complex256'>\n ACTUAL: '-1j'\n DESIRED: '(-0-1j)'")
----------------------------------------------------------------------
Ran 2466 tests in 11.029s
FAILED (KNOWNFAIL=4, SKIP=1, failures=3)
<nose.result.TextTestResult run=2466 errors=0 failures=3>
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1534>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list