[SciPy-dev] Failures in current CVS version
Pearu Peterson
pearu at scipy.org
Wed Oct 1 16:23:05 EDT 2003
On Wed, 1 Oct 2003, Berthold Höllmann wrote:
> Building the current CVS version of SciPy and running
>
> > python -c "import scipy ; scipy.test(2)"
> .
> ======================================================================
> 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'
Hmm, I fixed this about 50min ago in CVS.
> ======================================================================
> 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)
What ATLAS version are you using?
> 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
That's a known issue but has no harm on using scipy.
Btw, I just run build scipy under Python 2.1 and there I get only one
failure:
======================================================================
FAIL: check_arange (test_basic.test_arange)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.1/site-packages/scipy/special/tests/test_basic.py",
line 474, in check_arange
assert_array_equal(numstringa, array([3.,3.3,3.6,3.9]))
File "/usr/lib/python2.1/site-packages/scipy_test/testing.py", line 390,
in assert_array_equal
assert alltrue(ravel(reduced)),\
AssertionError:
Arrays are not equal:
Pearu
More information about the SciPy-Dev
mailing list