[SciPy-dev] test failures in current trunk: sparse\linalg\isolve, and special

josef.pktd@gmai... josef.pktd@gmai...
Sat Feb 14 17:16:11 CST 2009


5 failures,
* the ones in special have been reported before (I think)
>>> from scipy import special
>>> special.yn(301,1)
nan
* I haven't seen before the failures in sparse\linalg\isolve,
* first error is a typo that I corrected in trunk

Josef


Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> scipy.test()
Running unit tests for scipy
NumPy version 1.3.0.dev6362
NumPy is installed in C:\Programs\Python25\lib\site-packages\numpy
SciPy version 0.8.0.dev5551
SciPy is installed in C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\
scipy-0.8.0.dev5551.win32\Programs\Python25\Lib\site-packages\scipy
Python version 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Int
el)]
nose version 0.10.4


======================================================================
ERROR: Failure: NameError (global name 'path_candiates' is not defined)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Programs\Python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader
.py", line 364, in loadTestsFromName
    addr.filename, addr.module)
  File "C:\Programs\Python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\import
er.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "C:\Programs\Python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\import
er.py", line 84, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\weave\__init__.py", line 9
, in <module>
    from blitz_tools import blitz
  File "\Programs\Python25\Lib\site-packages\scipy\weave\blitz_tools.py", line 1
1, in <module>
    import inline_tools
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\weave\inline_tools.py", li
ne 15, in <module>
    function_catalog = catalog.catalog()
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\weave\catalog.py", line 35
6, in __init__
    sys.path.append(default_dir())
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\weave\catalog.py", line 19
7, in default_dir
    path_candiates.append(os.path.join(tempfile.gettempdir(),
NameError: global name 'path_candiates' is not defined

======================================================================
FAIL: test whether all methods converge
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\sparse\linalg\isolve\tests
\test_iterative.py", line 101, in test_convergence
    assert_equal(info,0)
  File "\Programs\Python25\Lib\site-packages\numpy\testing\utils.py", line 183,
in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: -10
 DESIRED: 0

======================================================================
FAIL: test whether maxiter is respected
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\sparse\linalg\isolve\tests
\test_iterative.py", line 82, in test_maxiter
    assert_equal(len(residuals), 3)
  File "\Programs\Python25\Lib\site-packages\numpy\testing\utils.py", line 183,
in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: 1
 DESIRED: 3

======================================================================
FAIL: test whether all methods accept a trivial preconditioner
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\sparse\linalg\isolve\tests
\test_iterative.py", line 132, in test_precond
    assert_equal(info,0)
  File "\Programs\Python25\Lib\site-packages\numpy\testing\utils.py", line 183,
in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: -10
 DESIRED: 0

======================================================================
FAIL: test_iv_cephes_vs_amos (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\special\tests\test_basic.p
y", line 1653, in test_iv_cephes_vs_amos
    self.check_cephes_vs_amos(iv, iv, rtol=1e-8, atol=1e-305)
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\special\tests\test_basic.p
y", line 1640, in check_cephes_vs_amos
    assert c2.imag != 0, (v, z)
AssertionError: (-100.3, 200.5)

======================================================================
FAIL: test_yv_cephes_vs_amos (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\special\tests\test_basic.p
y", line 1650, in test_yv_cephes_vs_amos
    self.check_cephes_vs_amos(yv, yn, rtol=1e-11, atol=1e-305)
  File "C:\Josef\_progs\building\scipy\scipy-trunk-new-r5551\dist\scipy-0.8.0.de
v5551.win32\Programs\Python25\Lib\site-packages\scipy\special\tests\test_basic.p
y", line 1640, in check_cephes_vs_amos
    assert c2.imag != 0, (v, z)
AssertionError: (301, 1.0)

----------------------------------------------------------------------
Ran 3365 tests in 70.313s

FAILED (KNOWNFAIL=2, SKIP=32, errors=1, failures=5)
<nose.result.TextTestResult run=3365 errors=1 failures=5>


More information about the Scipy-dev mailing list