[Numpy-discussion] new chararray test fails on Mac OS X

Christopher Hanley chanley@stsci....
Thu Jul 10 09:06:29 CDT 2008


 From the svn log it looks like the tests are intended to fail?  However 
  I would prefer tests that are designed only to fail when problems 
occur.  Otherwise we end up with problems with our automatic build and 
test scripts.

Thanks,
Chris

======================================================================
FAIL: test_mul (test_defchararray.TestOperations)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/Users/chanley/dev/site-packages/lib/python/numpy/core/tests/test_defcha
rarray.py", line 49, in test_mul
     assert all(Ar == (self.A * r))
AssertionError

======================================================================
FAIL: test_rmul (test_defchararray.TestOperations)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/Users/chanley/dev/site-packages/lib/python/numpy/core/tests/test_defcha
rarray.py", line 65, in test_rmul
     assert all(Ar == (r * self.A))
AssertionError

----------------------------------------------------------------------
Ran 1930 tests in 13.130s

FAILED (failures=2)
<nose.result.TextTestResult run=1930 errors=0 failures=2>
 >>> n.__version__
'1.2.0.dev5385'


-- 
Christopher Hanley
Systems Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4338


More information about the Numpy-discussion mailing list