[SciPy-dev] python2.3 and scipy

Nils Wagner nwagner at iam.uni-stuttgart.de
Tue Oct 30 03:36:46 EDT 2007


Hi all,

I get some warnings and errors with recent svn and 
python2.3 e.g.

Warning: FAILURE importing tests for <module 
'scipy.io.mio' from '...site-packages/scipy/io/mio.pyc'>
/data/home/nwagner/local/lib64/python2.3/site-packages/scipy/io/tests/test_mio.py:235: 
ValueError: The truth value of an array with more than one 
element is ambiguous. Use a.any() or a.all() (in 
TestMIOArray)

Warning: FAILURE importing tests for <module 
'scipy.misc.pilutil' from 
'...ackages/scipy/misc/pilutil.pyc'>
/data/home/nwagner/local/lib64/python2.3/site-packages/numpy/testing/numpytest.py:389: 
SyntaxError: invalid syntax (test_pilutil.py, line 38) (in 
_get_module_tests)


ERROR: test_factor1 
(scipy.stats.models.tests.test_formula.TestFormula)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib64/python2.3/site-packages/scipy/stats/models/tests/test_formula.py", 
line 190, in test_factor1
     fac = formula.Factor('ff', set(f))
NameError: global name 'set' is not defined


However I cannot reproduce them with python2.5.

Any comments ?

Nils



More information about the SciPy-Dev mailing list