[SciPy-dev] Failures in current CVS version

Berthold Höllmann bhoel at web.de
Wed Oct 1 15:03:41 CDT 2003


Hello,

Building the current CVS version of SciPy and running 

> python -c "import scipy ; scipy.test(2)"

I get 

.
======================================================================
ERROR: check_integer (test_array_import.test_read_array)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/scipy/io/tests/test_array_import.py", line 61, in check_integer
    a = stats.randint(1,20,size=(3,4))
AttributeError: 'module' object has no attribute 'randint'

======================================================================
FAIL: check_pro_ang1_cv (test_basic.test_cephes)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/scipy/special/tests/test_basic.py", line 357, in check_pro_ang1_cv
    assert_equal(cephes.pro_ang1_cv(1,1,1,1,0),(1.0,0.0))
  File "/usr/local/lib/python2.3/site-packages/scipy_test/testing.py", line 332, in assert_equal
    assert desired == actual, msg
AssertionError: 
Items are not equal:
DESIRED: (1.0, 0.0)
ACTUAL: (0.99999999999999989, 0.0)

----------------------------------------------------------------------

on my SuSE 8.2 system with gcc 3.3 on a AMD Athlon(tm) XP 2000+. 

on install I found the messages:

...
  File "/usr/local/lib/python2.3/site-packages/kiva/agg/graphics_context.swig.py", line 1
    %pythoncode {
    ^
SyntaxError: invalid syntax
...
  File "/usr/local/lib/python2.3/site-packages/kiva/agg/graphics_context.py", line 1
    %pythoncode {
    ^
SyntaxError: invalid syntax
...
/usr/local/lib/python2.3/site-packages/kiva/wxfast.py:149: SyntaxWarning: import * only allowed at module level
  def calc_points(self):
...

Regards,
Berthold
-- 
bhoel at web.de / http://starship.python.net/crew/bhoel/
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.


More information about the Scipy-dev mailing list