Just forwarding this to the main list since the Trac mailer still seems
to be broken.
Chris
--
Christopher Hanley
Systems Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4338
--- Begin Message ---
#770: numpy.core.tests.test_multiarray.TestView failures on big-endian machines
------------------------+---------------------------------------------------
Reporter: chanley | Owner: somebody
Type: defect | Status: reopened
Priority: normal | Milestone: 1.1.0
Component: numpy.core | Version: devel
Severity: normal | Resolution:
Keywords: big-endian |
------------------------+---------------------------------------------------
Changes (by chanley):
* status: closed => reopened
* resolution: fixed =>
Comment:
This has not been fixed as of 1.1.0dev5211 on either our Sun running
Solaris 10 or our PPC MAC running 10.4.11. Here is the output from the
seltest:
{{{
Numpy version 1.1.0.dev5211
Python version 2.5.1 (r251:54863, Jan 21 2008, 11:03:00) [C]
Found 18/18 tests for numpy.core.defmatrix
Found 3/3 tests for numpy.core.memmap
Found 283/283 tests for numpy.core.multiarray
Found 70/70 tests for numpy.core.numeric
Found 36/36 tests for numpy.core.numerictypes
Found 12/12 tests for numpy.core.records
Found 7/7 tests for numpy.core.scalarmath
Found 16/16 tests for numpy.core.umath
Found 5/5 tests for numpy.distutils.misc_util
Found 2/2 tests for numpy.fft.fftpack
Found 3/3 tests for numpy.fft.helper
Found 24/24 tests for numpy.lib._datasource
Found 10/10 tests for numpy.lib.arraysetops
Found 1/1 tests for numpy.lib.financial
Found 0/0 tests for numpy.lib.format
Found 53/53 tests for numpy.lib.function_base
Found 6/6 tests for numpy.lib.getlimits
Found 6/6 tests for numpy.lib.index_tricks
Found 15/15 tests for numpy.lib.io
Found 1/1 tests for numpy.lib.machar
Found 4/4 tests for numpy.lib.polynomial
Found 49/49 tests for numpy.lib.shape_base
Found 15/15 tests for numpy.lib.twodim_base
Found 43/43 tests for numpy.lib.type_check
Found 1/1 tests for numpy.lib.ufunclike
Found 89/89 tests for numpy.linalg
Found 94/94 tests for numpy.ma.core
Found 15/15 tests for numpy.ma.extras
Found 7/7 tests for numpy.random
Found 16/16 tests for numpy.testing.utils
Found 0/0 tests for __main__
.............................................................................................................................................................................................................................................................................................................FF.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_basic (numpy.core.tests.test_multiarray.TestView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/ra/pyssg/2.5.1/numpy/core/tests/test_multiarray.py", line
843, in test_basic
assert_array_equal(y,z)
File "/usr/stsci/pyssgdev/2.5.1/numpy/testing/utils.py", line 248, in
assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/usr/stsci/pyssgdev/2.5.1/numpy/testing/utils.py", line 240, in
assert_array_compare
assert cond, msg
AssertionError:
Arrays are not equal
(mismatch 100.0%)
x: array([ 67305985, 134678021])
y: array([16909060, 84281096])
======================================================================
FAIL: test_keywords (numpy.core.tests.test_multiarray.TestView)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/ra/pyssg/2.5.1/numpy/core/tests/test_multiarray.py", line
857, in test_keywords
assert_equal(y.dtype,np.int16)
File "/usr/stsci/pyssgdev/2.5.1/numpy/testing/utils.py", line 145, in
assert_equal
assert desired == actual, msg
AssertionError:
Items are not equal:
ACTUAL: dtype('<i2')
DESIRED: <type 'numpy.int16'>
----------------------------------------------------------------------
Ran 1000 tests in 21.171s
FAILED (failures=2)
errors:
failures:
(<numpy.core.tests.test_multiarray.TestView
testMethod=test_basic>, 'Traceback (most recent call last):\n File
"/usr/ra/pyssg/2.5.1/numpy/core/tests/test_multiarray.py", line 843, in
test_basic\n assert_array_equal(y,z)\n File
"/usr/stsci/pyssgdev/2.5.1/numpy/testing/utils.py", line 248, in
assert_array_equal\n verbose=verbose, header=\'Arrays are not
equal\')\n File "/usr/stsci/pyssgdev/2.5.1/numpy/testing/utils.py", line
240, in assert_array_compare\n assert cond, msg\nAssertionError:
\nArrays are not equal\n\n(mismatch 100.0%)\n x: array([ 67305985,
134678021])\n y: array([16909060, 84281096])\n')
(<numpy.core.tests.test_multiarray.TestView
testMethod=test_keywords>, 'Traceback (most recent call last):\n File
"/usr/ra/pyssg/2.5.1/numpy/core/tests/test_multiarray.py", line 857, in
test_keywords\n assert_equal(y.dtype,np.int16)\n File
"/usr/stsci/pyssgdev/2.5.1/numpy/testing/utils.py", line 145, in
assert_equal\n assert desired == actual, msg\nAssertionError: \nItems
are not equal:\n ACTUAL: dtype(\'<i2\')\n DESIRED: <type
\'numpy.int16\'>\n')
if ( 1 != 0 ) then
echo <font color=orange>selftest</font>
exit 0
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/770#comment:2>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
--- End Message ---
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion