[SciPy-dev] more 64 Bit testing (was linspace)
Arnd Baecker
arnd.baecker at web.de
Tue Dec 6 03:13:47 EST 2005
Hi Travis
On Mon, 5 Dec 2005, Travis Oliphant wrote:
[...]
> My bad, the new function had the wrong type-signature. There weren't a
> lot of 64-bit changes but I would like more 64-bit testing to find
> any more issues like this.
OK, here we go:
In [3]: scipy.__core_version__
Out[3]: '0.8.0.1577'
======================================================================
ERROR: Test of put
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/abaecker/BUILDS2/Build_95/inst_scipy_newcore/lib/python2.4/site-packages/scipy/base/tests/test_ma.py",
line 277, in check_testPut
x[[1,4]] = [10,40]
File
"/home/abaecker/BUILDS2/Build_95//inst_scipy_newcore/lib/python2.4/site-packages/scipy/base/ma.py",
line 799, in __setitem__
d[index] = value
IndexError: index (1) out of range (0<=index<=4) in dimension 0
======================================================================
ERROR: check_simple
(scipy.base.shape_base.test_shape_base.test_apply_along_axis)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/abaecker/BUILDS2/Build_95/inst_scipy_newcore/lib/python2.4/site-packages/scipy/base/tests/test_shape_base.py",
line 13, in check_simple
assert_array_equal(apply_along_axis(len,0,a),len(a)*ones(shape(a)[1]))
File
"/home/abaecker/BUILDS2/Build_95//inst_scipy_newcore/lib/python2.4/site-packages/scipy/base/shape_base.py",
line 36, in apply_along_axis
outarr[ind] = res
IndexError: index (0) out of range (0<=index<=9) in dimension 0
======================================================================
FAIL: check_odeint1 (scipy.integrate.test_integrate.test_odeint)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/abaecker/BUILDS2/Build_95/inst_scipy_newcore/lib/python2.4/site-packages/scipy/integrate/tests/test_integrate.py",
line 51, in check_odeint1
assert res < 1.0e-6
AssertionError
----------------------------------------------------------------------
Ran 1362 tests in 2.103s
FAILED (failures=1, errors=2)
Out[2]: <unittest.TextTestRunner object at 0x2aaab6f66390>
So this looks pretty good already ...
I will try to get back with more details ...
Best, Arnd
More information about the SciPy-Dev
mailing list