[SciPy-dev] 0.9.3.1853 FAILED (failures=1, errors=6)
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Sun Jan 8 03:52:20 CST 2006
======================================================================
ERROR: Test of other odd features
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.4/site-packages/numpy/core/tests/test_ma.py",
line 382, in check_testOddFeatures
assert eq(atest,ctest)
File
"/usr/local/lib/python2.4/site-packages/numpy/core/tests/test_ma.py",
line 6, in eq
result = allclose(v,w)
File
"/usr/local/lib/python2.4/site-packages/numpy/core/ma.py",
line 1396, in allclose
d2 = filled(b)
File
"/usr/local/lib/python2.4/site-packages/numpy/core/ma.py",
line 216, in filled
return a.filled(value)
File
"/usr/local/lib/python2.4/site-packages/numpy/core/ma.py",
line 1221, in filled
result[m] = value
ValueError: Cannot iterate over a size-0 array
======================================================================
ERROR: check_index_split_high_bound
(numpy.lib.shape_base.test_shape_base.test_array_split)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 120, in check_index_split_high_bound
compare_results(res,desired)
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 361, in compare_results
assert_array_equal(res[i],desired[i])
File
"/usr/local/lib/python2.4/site-packages/numpy/testing/utils.py",
line 159, in assert_array_equal
raise ValueError, msg
ValueError:
Arrays are not equal
======================================================================
ERROR: check_index_split_low_bound
(numpy.lib.shape_base.test_shape_base.test_array_split)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 113, in check_index_split_low_bound
compare_results(res,desired)
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 361, in compare_results
assert_array_equal(res[i],desired[i])
File
"/usr/local/lib/python2.4/site-packages/numpy/testing/utils.py",
line 159, in assert_array_equal
raise ValueError, msg
ValueError:
Arrays are not equal
======================================================================
ERROR: check_integer_split
(numpy.lib.shape_base.test_shape_base.test_array_split)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 79, in check_integer_split
compare_results(res,desired)
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 361, in compare_results
assert_array_equal(res[i],desired[i])
File
"/usr/local/lib/python2.4/site-packages/numpy/testing/utils.py",
line 159, in assert_array_equal
raise ValueError, msg
ValueError:
Arrays are not equal
======================================================================
ERROR: This will fail if we change default axis
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 98, in check_integer_split_2D_default
compare_results(res,desired)
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 361, in compare_results
assert_array_equal(res[i],desired[i])
File
"/usr/local/lib/python2.4/site-packages/numpy/testing/utils.py",
line 159, in assert_array_equal
raise ValueError, msg
ValueError:
Arrays are not equal
======================================================================
ERROR: check_integer_split_2D_rows
(numpy.lib.shape_base.test_shape_base.test_array_split)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 84, in check_integer_split_2D_rows
compare_results(res,desired)
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_shape_base.py",
line 361, in compare_results
assert_array_equal(res[i],desired[i])
File
"/usr/local/lib/python2.4/site-packages/numpy/testing/utils.py",
line 159, in assert_array_equal
raise ValueError, msg
ValueError:
Arrays are not equal
======================================================================
FAIL: Doctest: numpy.lib.polynomial.test_polynomial
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.4/doctest.py", line 2152,
in runTest
raise
self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for
numpy.lib.polynomial.test_polynomial
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_polynomial.py",
line 0, in test_polynomial
----------------------------------------------------------------------
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_polynomial.py",
line 60, in numpy.lib.polynomial.test_polynomial
Failed example:
p.deriv(2)
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.4/doctest.py", line
1243, in __run
compileflags, 1) in test.globs
File "<doctest
numpy.lib.polynomial.test_polynomial[26]>", line 1, in ?
p.deriv(2)
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/polynomial.py",
line 535, in deriv
return poly1d(polyder(self.coeffs, m=m))
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/polynomial.py",
line 163, in polyder
val = polyder(y, m-1)
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/polynomial.py",
line 163, in polyder
val = polyder(y, m-1)
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/polynomial.py",
line 157, in polyder
y = p[:-1] * NX.arange(n, 0, -1)
ValueError: Cannot iterate over a size-0 array
----------------------------------------------------------------------
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/tests/test_polynomial.py",
line 72, in numpy.lib.polynomial.test_polynomial
Failed example:
polydiv(poly1d([1,0,-1]), poly1d([1,1]))
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.4/doctest.py", line
1243, in __run
compileflags, 1) in test.globs
File "<doctest
numpy.lib.polynomial.test_polynomial[31]>", line 1, in ?
polydiv(poly1d([1,0,-1]), poly1d([1,1]))
File
"/usr/local/lib/python2.4/site-packages/numpy/lib/polynomial.py",
line 386, in __repr__
vals = repr(self.coeffs)
File
"/usr/local/lib/python2.4/site-packages/numpy/core/numeric.py",
line 223, in array_repr
', ', "array(")
File
"/usr/local/lib/python2.4/site-packages/numpy/core/arrayprint.py",
line 196, in array2string
separator, prefix)
File
"/usr/local/lib/python2.4/site-packages/numpy/core/arrayprint.py",
line 158, in _array2string
format = _floatFormat(data, precision,
suppress_small)
File
"/usr/local/lib/python2.4/site-packages/numpy/core/arrayprint.py",
line 273, in _floatFormat
non_zero =
_uf.absolute(data.compress(_uf.not_equal(data, 0)))
ValueError: Cannot iterate over a size-0 array
----------------------------------------------------------------------
Ran 183 tests in 2.905s
More information about the Scipy-dev
mailing list