[Numpy-discussion] ANN: Numpy 1.6.0 beta 2

Derek Homeier derek at astro.physik.uni-goettingen.de
Mon Apr 4 22:42:35 EDT 2011


Hi all,

On 4 Apr 2011, at 22:04, Ralf Gommers wrote:

> I am pleased to announce the availability of the second beta of NumPy
> 1.6.0. Due to the extensive changes in the Numpy core for this
> release, the beta testing phase will last at least one month. Please
> test this beta and report any problems on the Numpy mailing list.
>
the tests have a number of Python2.4-incompatibilities, one for a file
opening mode and the rest for class declaration styles.

Cheers,
						Derek

Running unit tests for numpy
NumPy version 1.6.0b2
NumPy is installed in /sw/lib/python2.4/site-packages/numpy
Python version 2.4.4 (#1, Jan  5 2011, 03:05:41) [GCC 4.0.1 (Apple  
Inc. build 5493)]
nose version 1.0.0
.....
======================================================================
ERROR: Failure: SyntaxError (invalid syntax (test_multiarray.py, line  
1023))
...
   File "/sw/lib/python2.4/site-packages/numpy/core/tests/ 
test_multiarray.py", line 1023
     class TestPutmask():
                       ^
SyntaxError: invalid syntax

======================================================================
ERROR: Failure: SyntaxError (invalid syntax (test_numeric.py, line  
1068))
...
   File "/sw/lib/python2.4/site-packages/numpy/core/tests/ 
test_numeric.py", line 1068
     class TestAllclose():
                        ^
SyntaxError: invalid syntax

======================================================================
ERROR: Failure: SyntaxError (invalid syntax (test_scalarmath.py, line  
84))
...
   File "/sw/lib/python2.4/site-packages/numpy/core/tests/ 
test_scalarmath.py", line 84
     class TestRepr():
                    ^
SyntaxError: invalid syntax

======================================================================
ERROR: Failure: SyntaxError (invalid syntax (test_twodim_base.py, line  
280))
...
   File "/sw/lib/python2.4/site-packages/numpy/lib/tests/ 
test_twodim_base.py", line 280
     class TestTriuIndices():
                           ^
SyntaxError: invalid syntax

======================================================================
ERROR: Failure: SyntaxError (invalid syntax (test_linalg.py, line 243))
...
   File "/sw/lib/python2.4/site-packages/numpy/linalg/tests/ 
test_linalg.py", line 243
     class TestMatrixPower():
                           ^
SyntaxError: invalid syntax

======================================================================
ERROR: test_gft_filename (test_io.TestFromTxt)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/sw/lib/python2.4/site-packages/numpy/lib/tests/test_io.py",  
line 1327, in test_gft_filename
     assert_array_equal(np.genfromtxt(name), exp_res)
   File "/sw/lib/python2.4/site-packages/numpy/lib/npyio.py", line  
1235, in genfromtxt
     fhd = iter(np.lib._datasource.open(fname, 'Ub'))
   File "/sw/lib/python2.4/site-packages/numpy/lib/_datasource.py",  
line 145, in open
     return ds.open(path, mode)
   File "/sw/lib/python2.4/site-packages/numpy/lib/_datasource.py",  
line 477, in open
     return _file_openers[ext](found, mode=mode)
IOError: invalid mode: Ub

----------------------------------------------------------------------
Ran 2648 tests in 28.573s

FAILED (KNOWNFAIL=3, SKIP=21, errors=6)




More information about the NumPy-Discussion mailing list