[Numpy-discussion] 1.2.0rc1 tagged!

Alan G Isaac aisaac@american....
Wed Sep 3 12:06:25 CDT 2008


So the two formatting tests fail, as David warned.
But they are known to fail on Windows, and there
is no msg to that effect.  Might one be added?
Alan Isaac

Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit 
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> numpy.test()
Running unit tests for numpy
NumPy version 1.2.0rc1
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 (Int
el)]
nose version 0.10.1
................................................................................
................................................................................
................................................................................
...FF...........................................................................
................................................................................
.......................................S........................................
........................................Ignoring "Python was built with 
Visual S
tudio 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 s
hould fix me in fcompiler/compaq.py)
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.............
======================================================================
FAIL: Check formatting.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "C:\Python25\Lib\site-packages\numpy\core\tests\test_print.py", 
line 28,
in test_complex_types
     assert_equal(str(t(x)), str(complex(x)))
   File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line 
183, in asse
rt_equal
     raise AssertionError(msg)
AssertionError:
Items are not equal:
  ACTUAL: '(0+5.9287877500949585e-323j)'
  DESIRED: '(1+0j)'

======================================================================
FAIL: Check formatting.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "C:\Python25\Lib\site-packages\numpy\core\tests\test_print.py", 
line 16,
in test_float_types
     assert_equal(str(t(x)), str(float(x)))
   File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line 
183, in asse
rt_equal
     raise AssertionError(msg)
AssertionError:
Items are not equal:
  ACTUAL: '0.0'
  DESIRED: '1.0'

======================================================================
SKIP: test_umath.TestComplexFunctions.test_branch_cuts_failing
----------------------------------------------------------------------
Traceback (most recent call last):
   File "C:\Python25\lib\site-packages\nose\case.py", line 203, in runTest
     self.test(*self.arg)
   File "C:\Python25\Lib\site-packages\numpy\testing\decorators.py", 
line 93, in
skipper
     raise nose.SkipTest, 'This test is known to fail'
SkipTest: This test is known to fail

----------------------------------------------------------------------
Ran 1573 tests in 18.286s

FAILED (failures=2)
<nose.result.TextTestResult run=1573 errors=0 failures=2>
 >>>










More information about the Numpy-discussion mailing list