[SciPy-Dev] scipy.test() errors - SciPy version 0.10.0.dev7179

Nils Wagner nwagner at iam.uni-stuttgart.de
Tue Aug 30 14:23:09 EDT 2011


======================================================================
ERROR: Failure: IndentationError (unexpected indent 
(dia.py, line 105))
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-py2.6.egg/nose/loader.py", 
line 382, in loadTestsFromName
     addr.filename, addr.module)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-py2.6.egg/nose/importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-py2.6.egg/nose/importer.py", 
line 86, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/cluster/__init__.py", 
line 26, in <module>
     import vq, hierarchy
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/cluster/hierarchy.py", 
line 179, in <module>
     import scipy.spatial.distance as distance
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/spatial/__init__.py", 
line 25, in <module>
     from kdtree import *
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/spatial/kdtree.py", 
line 6, in <module>
     import scipy.sparse
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/sparse/__init__.py", 
line 175, in <module>
     from csr import *
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/sparse/csr.py", 
line 12, in <module>
     from sparsetools import csr_tocsc, csr_tobsr, 
csr_count_blocks, \
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/sparse/sparsetools/__init__.py", 
line 7, in <module>
     from dia import *
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/sparse/sparsetools/dia.py", 
line 105
     return _dia.dia_matvec(*args)
    ^
IndentationError: unexpected indent

======================================================================
FAIL: test_lu (test_decomp.TestLUSolve)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/scipy/linalg/tests/test_decomp.py", 
line 728, in test_lu
     assert_array_equal(x1,x2)
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 753, in assert_array_equal
     verbose=verbose, header='Arrays are not equal')
   File 
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py", 
line 677, in assert_array_compare
     raise AssertionError(msg)
AssertionError:
Arrays are not equal

(mismatch 90.0%)
  x: array([-0.36278861,  0.75920432,  0.19844271, 
 0.65479681,  0.40510514,
         0.79604687, -1.05344321, -0.25597019, 
-0.34997286,  0.07080989])
  y: array([-0.36278861,  0.75920432,  0.19844271, 
 0.65479681,  0.40510514,
         0.79604687, -1.05344321, -0.25597019, 
-0.34997286,  0.07080989])




More information about the SciPy-Dev mailing list