[SciPy-dev] New scipy.test() failures

Ilan Schnell ilanschnell@gmail....
Tue Nov 25 17:26:16 CST 2008


Hi Nils,

Can you please provide some information about the system
you are using, and which compiler you used, or whether you
installed scipy from a binary, ...
There are known problems on different architectures.

- Ilan


On Tue, Nov 25, 2008 at 12:29 PM, Nils Wagner
<nwagner@iam.uni-stuttgart.de> wrote:
> Hi all,
>
> I found some new test failures.
> Can someone reproduce these failures ?
>
> ======================================================================
> FAIL: test_simple (test_fblas.TestCgemv)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/lib64/python2.5/site-packages/scipy/lib/blas/tests/test_fblas.py",
> line 325, in test_simple
>     assert_array_almost_equal(desired_y,y)
>   File
> "/usr/local/lib64/python2.5/site-packages/numpy/testing/utils.py",
> line 310, in assert_array_almost_equal
>     header='Arrays are not almost equal')
>   File
> "/usr/local/lib64/python2.5/site-packages/numpy/testing/utils.py",
> line 295, in assert_array_compare
>     raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal
>
> (mismatch 33.3333333333%)
>  x: array([ -5.82329798 +5.82329798j,   8.58068085
> -6.58068085j,
>        -12.74014378+16.74014282j], dtype=complex64)
>  y: array([ -5.82329798 +5.82329798j,   8.58068085
> -6.58068085j,
>        -12.74014378+16.74014473j], dtype=complex64)
>
> ======================================================================
> FAIL: test_imresize (test_pilutil.TestPILUtil)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/lib64/python2.5/site-packages/numpy/testing/decorators.py",
> line 82, in skipper
>     return f(*args, **kwargs)
>   File
> "/usr/local/lib64/python2.5/site-packages/scipy/misc/tests/test_pilutil.py",
> line 24, in test_imresize
>     assert_equal(im1.shape,(11,22))
>   File
> "/usr/local/lib64/python2.5/site-packages/numpy/testing/utils.py",
> line 174, in assert_equal
>     assert_equal(len(actual),len(desired),err_msg,verbose)
>   File
> "/usr/local/lib64/python2.5/site-packages/numpy/testing/utils.py",
> line 183, in assert_equal
>     raise AssertionError(msg)
> AssertionError:
> Items are not equal:
>  ACTUAL: 0
>  DESIRED: 2
>
> ======================================================================
> FAIL: test_kdtree.test_distance_matrix
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/lib64/python2.5/site-packages/nose-0.10.4-py2.5.egg/nose/case.py",
> line 182, in runTest
>     self.test(*self.arg)
>   File
> "/usr/local/lib64/python2.5/site-packages/scipy/spatial/tests/test_kdtree.py",
> line 416, in test_distance_matrix
>     assert_equal(distance(xs[i],ys[j]),ds[i,j])
>   File
> "/usr/local/lib64/python2.5/site-packages/numpy/testing/utils.py",
> line 183, in assert_equal
>     raise AssertionError(msg)
> AssertionError:
> Items are not equal:
>  ACTUAL: 2.775628274295713
>  DESIRED: 2.7756282742957135
>
> ----------------------------------------------------------------------
> Ran 2858 tests in 43.229s
>
> FAILED (KNOWNFAIL=2, SKIP=16, failures=3)
> <nose.result.TextTestResult run=2858 errors=0 failures=3>
>
>>>> scipy.__version__
> '0.7.0.dev5193'
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>


More information about the Scipy-dev mailing list