[Numpy-discussion] ? FAIL: test_print.test_complex_types(<type 'numpy.complex64'>, )

Vincent Davis vincent at vincentdavis.net
Wed Jun 30 01:08:59 EDT 2010


I didn't find these documented anywhere, I have numpy(couple day old
snapshot) install on python 2.7 OSX 64bit.
Thanks
Vincent

======================================================================
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>



More information about the NumPy-Discussion mailing list