numpy.test() failures (1.2.1) on Mac OS X

I just installed what I believe to be a completely vanilla installation of numpy on an Intel Mac OS X 10.5.6. Python 2.5 pkg from Python.org, numpy 1.2.1 pkg from scipy.org, nose installed through setup tools. Running "import numpy; numpy.test()" results in the following errors and failures: ERROR: Failure: TypeError (can't multiply sequence by non-int of type 'float') ERROR: test_definition (test_helper.TestFFTShift) ERROR: test_inverse (test_helper.TestFFTShift) ERROR: Test of inplace division FAIL: test_division_int (test_umath.TestDivision) FAIL: test_basic (test_index_tricks.TestUnravelIndex) FAIL: Test of inplace division FAIL: test_inplace_division_misc (test_core.TestMaskedArrayInPlaceArithmetics) FAIL: Test of inplace operations and rich comparisons Is this expected? Should I file a ticket? A complete dump of the test run can be found at: http://nick.matsakis.net/tmp/numpy-1.2.1-tests-12-30-2008.txt Nick Matsakis

On Tue, 30 Dec 2008, Nicholas Matsakis wrote:
I just installed what I believe to be a completely vanilla installation of numpy on an Intel Mac OS X 10.5.6. Python 2.5 pkg from Python.org, numpy 1.2.1 pkg from scipy.org, nose installed through setup tools. Running "import numpy; numpy.test()" results in the following errors and failures...
I've determined these failures were a result of running the python interpreter with the "new" division semantics. Without those all the tests pass save one known failure. Nick Matsakis
participants (1)
-
Nicholas Matsakis