[Numpy-discussion] New test failures

Nils Wagner nwagner at iam.uni-stuttgart.de
Tue Jul 28 02:47:40 EDT 2009


>>> numpy.__version__
'1.4.0.dev7270'
Python 2.5.1 on 64-bit box


======================================================================
FAIL: 
test_umath.TestComplexFunctions.test_precisions_consistent
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/case.py", 
line 182, in runTest
     self.test(*self.arg)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/core/tests/test_umath.py", 
line 545, in test_precisions_consistent
     assert_almost_equal(fcf, fcd, decimal=6, 
err_msg='fch-fcd %s'%f)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 383, in assert_almost_equal
     "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: (0.666239+1.06128j)
DESIRED: (0.666239432493+1.06127506191j)


======================================================================
FAIL: test_csingle (test_linalg.TestEig)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 39, in test_csingle
     self.do(a, b)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 94, in do
     assert_almost_equal(dot(a, evectors), 
multiply(evectors, evalues))
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 23, in assert_almost_equal
     old_assert_almost_equal(a, b, decimal=decimal, **kw)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 383, in assert_almost_equal
     "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[-0.28785625-0.21230127j  2.13664055+3.62986112j]
  [ 0.20296739+0.16528448j  4.73750353+6.42351294j]]
DESIRED: [[-0.28785625-0.21230127j 
 2.13664031+3.62986112j]
  [ 0.20296741+0.16528448j  4.73750353+6.42351341j]]


======================================================================
FAIL: test_csingle (test_linalg.TestPinv)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 39, in test_csingle
     self.do(a, b)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 124, in do
     assert_almost_equal(dot(a, a_ginv), 
identity(asarray(a).shape[0]))
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 23, in assert_almost_equal
     old_assert_almost_equal(a, b, decimal=decimal, **kw)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 383, in assert_almost_equal
     "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[  1.00000024e+00 +2.38418579e-07j 
 -5.96046448e-08 +0.00000000e+00j]
  [  5.36441803e-07 +3.57627869e-07j   9.99999821e-01 
+0.00000000e+00j]]
DESIRED: [[ 1.  0.]
  [ 0.  1.]]


======================================================================
FAIL: test_csingle (test_linalg.TestSVD)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 39, in test_csingle
     self.do(a, b)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 100, in do
     assert_almost_equal(a, dot(multiply(u, s), vt))
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/linalg/tests/test_linalg.py", 
line 23, in assert_almost_equal
     old_assert_almost_equal(a, b, decimal=decimal, **kw)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/utils.py", 
line 383, in assert_almost_equal
     "DESIRED: %s\n" % (str(actual), str(desired)))
AssertionError: Items are not equal:
ACTUAL: [[ 1.+2.j  2.+3.j]
  [ 3.+4.j  4.+5.j]]
DESIRED: [[ 1.00000012+2.00000024j 
 2.00000024+3.00000024j]
  [ 3.00000048+4.00000048j  4.00000048+5.j        ]]


----------------------------------------------------------------------
Ran 2179 tests in 67.754s

FAILED (KNOWNFAIL=1, failures=4)
<nose.result.TextTestResult run=2179 errors=0 failures=4>



More information about the NumPy-Discussion mailing list