[SciPy-dev] bench_random errors

Arnd Baecker arnd.baecker at web.de
Thu Mar 16 09:53:42 CST 2006


Hi,

with a recent svn one gets the following errors

======================================================================
ERROR: bench_random (scipy.linalg.tests.test_decomp.test_eigvals)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/BUILDS3/BuildDir/inst_numpy/lib/python2.4/site-packages/scipy/linalg/tests/test_decomp.py",
line 57, in bench_random
    Numeric_eigvals = linalg.eigenvalues
AttributeError: 'module' object has no attribute 'eigenvalues'

======================================================================
ERROR: bench_random (scipy.linalg.tests.test_basic.test_solve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/BUILDS3/BuildDir/inst_numpy/lib/python2.4/site-packages/scipy/linalg/tests/test_basic.py",
line 160, in bench_random
    basic_solve = linalg.solve_linear_equations
AttributeError: 'module' object has no attribute 'solve_linear_equations'

======================================================================
FAIL: check_expon (scipy.stats.tests.test_morestats.test_anderson)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/BUILDS3/BuildDir/inst_numpy/lib/python2.4/site-packages/scipy/stats/tests/test_morestats.py",
line 57, in check_expon
    assert_array_less(A, crit[-2:])
  File
"/home/abaecker/BUILDS3/BuildDir/inst_numpy/lib/python2.4/site-packages/numpy/testing/utils.py",
line 255, in assert_array_less
    assert cond,\
AssertionError:
Arrays are not less-ordered (mismatch 50.0%):
        Array 1: 1.6956285208609501
        Array 2: [ 1.587               1.9339999999999999]

(I know, the last one is the usual statistics one which goes
away when running a second time - with almost certainty ;-)


The solution to the first ones seems trivial, patch attached.

Best,

Jan and Arnd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: svn.diff
Url: http://projects.scipy.org/pipermail/scipy-dev/attachments/20060316/702bb5e8/attachment.pl 


More information about the Scipy-dev mailing list