[SciPy-dev] Fwd: scipy 32 bit tests

Jarrod Millman millman@berkeley....
Thu Aug 14 17:08:41 CDT 2008


I also have a report from Fernando about failures on 32bit Linux.


---------- Forwarded message ----------
From: Fernando Perez <Fernando.Perez@berkeley.edu>
Date: Thu, Aug 14, 2008 at 2:48 PM
Subject: scipy 32 bit tests
To: Jarrod Millman <millman@berkeley.edu>


Hey,

on 32 bit ubuntu, we get for scipy a bunch of these:

======================================================================
ERROR: test_var_in (test_wx_spec.TestWxConverter)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/scipy/weave/tests/test_wx_spec.py",
line 31, in setUp
   self.s = wx_spec.wx_converter()
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/scipy/weave/wx_spec.py",
line 72, in __init__
   common_base_converter.__init__(self)
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/scipy/weave/c_spec.py",
line 74, in __init__
   self.init_info()
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/scipy/weave/wx_spec.py",
line 127, in init_info
   cxxflags = get_wxconfig('cxxflags')
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/scipy/weave/wx_spec.py",
line 32, in get_wxconfig
   raise RuntimeError, msg
RuntimeError: wx-config failed. Impossible to learn wxPython settings


it would be good to skip them gracefully rather than erroring out, so
we get less noise.


Some of:

======================================================================
FAIL: test whether all methods converge
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/scipy/sparse/linalg/isolve/tests/test_iterative.py",
line 83, in test_c
onvergence
   assert_equal(info,0)
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/numpy/testing/utils.py",
line 180, in assert_equal
   assert desired == actual, msg
AssertionError:
Items are not equal:
 ACTUAL: -10
 DESIRED: 0

======================================================================
FAIL: test whether all methods accept a preconditioner
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/scipy/sparse/linalg/isolve/tests/test_iterative.py",
line 111, in test_precond
   assert_equal(info,0)
 File "/home/fperez/usr/opt/lib/python2.5/site-packages/numpy/testing/utils.py",
line 180, in assert_equal
   assert desired == actual, msg
AssertionError:
Items are not equal:
 ACTUAL: -10
 DESIRED: 0

These two appear like real failures

So I think on 32 bit we just need to worry about the two failures
above, and hopefully handle the wx stuff more gracefully.

cheers,

f


More information about the Scipy-dev mailing list