[SciPy-Dev] More scipy.test() failures

Nils Wagner nwagner@iam.uni-stuttgart...
Tue Sep 6 13:35:21 CDT 2011


Hi all,

can someone reproduce the following failures

Nils

>>> scipy.__version__
'0.10.0.dev7179'

======================================================================
FAIL: test_mio_utils.test_squeeze_element(False,)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-py2.6.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
AssertionError

======================================================================
FAIL: test_arpack.test_complex_nonsymmetric_modes(False, 
<std-cmplx-nonsym>, 'F', 2, 'LM', None, None, <class 
'scipy.sparse.csr.csr_matrix'>)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-py2.6.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py", 
line 196, in eval_evec
     assert_allclose(LHS, RHS, rtol=_rtol[typ], 
atol=_atol[typ], err_msg=err)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 1213, in assert_allclose
     verbose=verbose, header=header)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 677, in assert_array_compare
     raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=0.000238419, atol=0.000238419
error for eigs:standard, typ=F, which=LM, sigma=None, 
mattype=csr_matrix, OPpart=None, mode=normal
(mismatch 100.0%)
  x: array([[-0.15612537-0.34876961j, 
 0.54372370+1.58556008j],
        [ 0.07264681-0.29588005j, 
 0.79194915+1.30910718j],
        [ 0.18219496+0.68975669j,  0.85219419+1.5947448j 
],...
  y: array([[-0.15577540-0.34831554j, 
 0.54372382+1.58555984j],
        [ 0.07204140-0.29578942j, 
 0.79194933+1.30910718j],
        [ 0.18207264+0.69015396j, 
 0.85219407+1.59474432j],...

======================================================================
FAIL: Some very simple tests for chi2_contingency.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-py2.6.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/stats/tests/test_contingency.py", 
line 67, in test_chi2_contingency_trival
     assert_equal(p, 1.0)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 300, in assert_equal
     raise AssertionError(msg)
AssertionError:
Items are not equal:
  ACTUAL: nan
  DESIRED: 1.0

----------------------------------------------------------------------
Ran 5625 tests in 202.342s

FAILED (KNOWNFAIL=12, SKIP=28, failures=3)


More information about the SciPy-Dev mailing list