[Numpy-discussion] Test failure with latest SVN

Ryan Krauss ryanlists@gmail....
Fri Jan 18 17:35:13 CST 2008


I just built from svn in Ubuntu and get this same error.

Ryan

On Jan 16, 2008 5:26 AM, Robin <robince@gmail.com> wrote:
> I am on OS X 10.5.1 and get a test failure with the latest numpy svn.
> (Previously ran with no errors with svn as of a few weeks ago).
>
> test_zero_probability (numpy.tests.test_random.TestMultinomial) ... ok
>
> ======================================================================
> ERROR: Ticket #396
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_regression.py",
> line 600, in check_poly1d_nan_roots
>     self.failUnlessRaises(np.linalg.LinAlgError,getattr,p,"r")
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
> line 320, in failUnlessRaises
>     callableObj(*args, **kwargs)
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
> line 623, in __getattr__
>     return roots(self.coeffs)
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
> line 124, in roots
>     roots = _eigvals(A)
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py",
> line 37, in _eigvals
>     return eigvals(arg)
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/decomp.py",
> line 378, in eigvals
>     return eig(a,b=b,left=0,right=0,overwrite_a=overwrite_a)
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linalg/decomp.py",
> line 128, in eig
>     a1 = asarray_chkfinite(a)
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/function_base.py",
> line 398, in asarray_chkfinite
>     raise ValueError, "array must not contain infs or NaNs"
> ValueError: array must not contain infs or NaNs
>
> ----------------------------------------------------------------------
> Ran 713 tests in 0.697s
>
> FAILED (errors=1)
> Out[3]: <unittest._TextTestResult run=713 errors=1 failures=0>
>
> Robin
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the Numpy-discussion mailing list