[SciPy-dev] system_info is in effect

Fernando Pérez fperez at pizero.colorado.edu
Fri Feb 22 14:10:20 EST 2002


On Fri, 22 Feb 2002, eric wrote:

> I'm betting Pearu ran scipy.test() which only runs quick tests.  A more complete
> test suite can be run using scipy.test(5) and the full test suite can be run by
> using scipy.test(10).  The default runs only the quick tests so that people will
> be willing to do it.  test(5) and test(10) take multiple minutes to complete.
> 
> So, I'm betting this says nothing about weave since all of its tests that
> actually call the compiler are in the higher level test suites.

Well, here's a report. I just did a cvs update, a clean rebuild and a level 10 
test. On Tuesday the same thing gave 5 fails, today I get 2 fails. Both 
problems are actually the same line in linalg.py.

For reference, this is under Linux/Python2.2.

Log:

======================================================================
ERROR: check_basic (test_basic1a.test_roots)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/scipy/tests/test_basic1a.py", line 
19, in check_basic
    assert_array_almost_equal(roots(a1),[2,2],11)
  File "/usr/lib/python2.2/site-packages/scipy/basic1a.py", line 52, in roots
    roots,dummy = eig(A)
  File "/usr/lib/python2.2/site-packages/scipy/linalg/linear_algebra.py", line 
440, in eig
    results = ev(a, jobvl='N', jobvr=vchar, lwork=results[-2][0])
error: ((lwork==-1) || (lwork >= MAX(1,4*n))) failed for 3rd keyword lwork

======================================================================
ERROR: check_inverse (test_basic1a.test_roots)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/scipy/tests/test_basic1a.py", line 
25, in check_inverse
    assert_array_almost_equal(sort(roots(poly(a))),sort(a),5)
  File "/usr/lib/python2.2/site-packages/scipy/basic1a.py", line 52, in roots
    roots,dummy = eig(A)
  File "/usr/lib/python2.2/site-packages/scipy/linalg/linear_algebra.py", line 
440, in eig
    results = ev(a, jobvl='N', jobvr=vchar, lwork=results[-2][0])
error: ((lwork==-1) || (lwork >= MAX(1,4*n))) failed for 3rd keyword lwork

----------------------------------------------------------------------
Ran 319 tests in 338.117s

FAILED (errors=2)

Cheers,

f.




More information about the SciPy-Dev mailing list