[SciPy-dev] Most tests pass now in full scipy.

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Oct 20 02:20:24 CDT 2005


Travis Oliphant wrote:
>A few modifications to f2py (to update the flags after lazy transposing, 
>and to allow array scalars to be used in complex conversions --- 
>necessary because sadly there is no PyNumber_Complex function in Python). 
>
>These modifications, plus an enhancement to the C-API
>
>PyArray_ScalarAsCtype(PyObject *scalar, void *ctypeptr)
>
>seems to make many of the tests pass.
>
>I'm not sure where the 64-bit fixes stand.  I know many have been made.  
>I'd like to see more reports.
>
>-Travis
>
>
>
>_______________________________________________
>Scipy-dev mailing list
>Scipy-dev at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-dev
>  
scipy.test(5,10) yields

======================================================================
ERROR: bench_random (scipy.linalg.basic.test_basic.test_det)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/tests/test_basic.py",
line 320, in bench_random
    print '| %6.2f ' % self.measure('basic_det(a)',repeat),
  File "/usr/local/lib/python2.4/site-packages/scipy/test/testing.py",
line 155, in measure
    exec code in globs,locs
  File "ScipyTestCase runner for test_det", line 1, in ?
NameError: name 'basic_det' is not defined

======================================================================
ERROR: bench_random (scipy.linalg.basic.test_basic.test_inv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/tests/test_basic.py",
line 253, in bench_random
    print '| %6.2f ' % self.measure('basic_inv(a)',repeat),
  File "/usr/local/lib/python2.4/site-packages/scipy/test/testing.py",
line 155, in measure
    exec code in globs,locs
  File "ScipyTestCase runner for test_inv", line 1, in ?
NameError: name 'basic_inv' is not defined

======================================================================
ERROR: bench_random (scipy.linalg.basic.test_basic.test_solve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/tests/test_basic.py",
line 182, in bench_random
    print '| %6.2f ' % self.measure('basic_solve(a,b)',repeat),
  File "/usr/local/lib/python2.4/site-packages/scipy/test/testing.py",
line 155, in measure
    exec code in globs,locs
  File "ScipyTestCase runner for test_solve", line 1, in ?
NameError: name 'basic_solve' is not defined

======================================================================
FAIL: check_nils (scipy.linalg.matfuncs.test_matfuncs.test_signm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/linalg/tests/test_matfuncs.py",
line 44, in check_nils
    assert_array_almost_equal(r,cr)
  File "/usr/local/lib/python2.4/site-packages/scipy/test/testing.py",
line 727, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 100.0%):
        Array 1: [[  1.2104571e+01 -2.3056788e-02j  -1.0034348e+00
-1.8445430e-01j
    1.5239715e+01 +1.1528394e-02j   2.1808571e+01 -2.3...
        Array 2: [[ 11.9493333  -2.2453333  15.3173333  21.6533333 
-2.2453333]
 [ -3.8426667   0.4986667  -4.5906667  -7.1866667   0.498...


----------------------------------------------------------------------
Ran 395 tests in 6.387s

FAILED (failures=1, errors=3)
 




More information about the Scipy-dev mailing list