[Numpy-discussion] NumPy 1.2.0b2 released

Jon Wright wright@esrf...
Thu Aug 14 16:32:59 CDT 2008


Jarrod Millman wrote:
> Hey,
> 
> NumPy 1.2.0b2 is now available.  Please test this so that we can
> uncover any problems ASAP.
>
> Windows binary:
> http://www.enthought.com/~gvaroquaux/numpy-1.2.0b2-win32.zip
> 


As well as the ones from Alan, if you add the "-O" for optimise flag to 
your python, there is still the interpreter crash as well as seeing some 
extra failures.

-Jon
----

c:\python25\python -O -c "import numpy; numpy.test()"
Running unit tests for numpy
NumPy version 1.2.0b2
NumPy is installed in c:\python25\lib\site-packages\numpy
Python version 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 
bit (Intel)]
nose version 0.10.3
........................................................................................................................
........................................................................................................................
........................................F...............................................................................
...........................................................................S............................................
....................................Ignoring "Python was built with 
Visual Studio 2003;
extensions must be built with a compiler than can generate compatible 
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin 
installed,
you can try compiling with MingW32, by passing "-c mingw32" to 
setup.py." (one should fix me in fcompiler/compaq.py)
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
........................................................................................................................
.....................................................................F.F.F.F.FFFFF.........
======================================================================
FAIL: Convolve should raise an error for empty input array.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\core\tests\test_regression.py", 
line 626, in test_convolve_empty
     self.failUnlessRaises(AssertionError,np.convolve,[],[1])
AssertionError: AssertionError not raised

======================================================================
FAIL: Test two arrays with different shapes are found not equal.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
46, in test_array_diffshape
     self._test_not_equal(a, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

======================================================================
FAIL: Test two different array of rank 1 are found not equal.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
32, in test_array_rank1_noteq
     self._test_not_equal(a, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

======================================================================
FAIL: Test two arrays with different shapes are found not equal.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
46, in test_array_diffshape
     self._test_not_equal(a, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

======================================================================
FAIL: Test two different array of rank 1 are found not equal.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
32, in test_array_rank1_noteq
     self._test_not_equal(a, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

======================================================================
FAIL: Test rank 1 array for all dtypes.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
65, in test_generic_rank1
     foo(t)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
61, in foo
     self._test_not_equal(c, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

======================================================================
FAIL: Test rank 3 array for all dtypes.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
84, in test_generic_rank3
     foo(t)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
80, in foo
     self._test_not_equal(c, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

======================================================================
FAIL: Test arrays with nan values in them.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
98, in test_nan_array
     self._test_not_equal(c, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

======================================================================
FAIL: Test record arrays.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
124, in test_recarrays
     self._test_not_equal(c, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

======================================================================
FAIL: Test two arrays with different shapes are found not equal.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
109, in test_string_arrays
     self._test_not_equal(c, b)
   File 
"C:\Python25\Lib\site-packages\numpy\testing\tests\test_utils.py", line 
18, in _test_not_equal
     raise AssertionError("a and b are found equal but are not")
AssertionError: a and b are found equal but are not

----------------------------------------------------------------------
Ran 1567 tests in 8.503s

FAILED (SKIP=1, failures=10)

C:\>




More information about the Numpy-discussion mailing list