<br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 2:45 PM, Samuel John <span dir="ltr"><<a href="mailto:scipy@samueljohn.de">scipy@samueljohn.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Nils,<br>
<br>
which version of numpy, which os?<br>
I can infer that you use python 2.6 in 64bit, right?<br>
<br>
Right after the beginning of the numpy.test() are some crucial information.<br>
<br>
bests<br>
<font color="#888888"> Samuel<br>
</font><div><div></div><div class="h5"><br>
On 14.09.2011, at 22:09, Nils Wagner wrote:<br>
<br>
> ERROR: test_polyfit (test_polynomial.TestDocs)<br>
> ----------------------------------------------------------------------<br>
> Traceback (most recent call last):<br>
> File<br>
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/lib/tests/test_polynomial.py",<br>
> line 106, in test_polyfit<br>
> weights = arange(8,1,-1)**2/7.0<br>
> NameError: global name 'arange' is not defined<br>
><br>
> ======================================================================<br>
> FAIL: Tests polyfit<br>
> ----------------------------------------------------------------------<br>
> Traceback (most recent call last):<br>
> File<br>
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/tests/test_extras.py",<br>
> line 622, in test_polyfit<br>
> assert_almost_equal(a, a_)<br>
> File<br>
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",<br>
> line 155, in assert_almost_equal<br>
> err_msg=err_msg, verbose=verbose)<br>
> File<br>
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",<br>
> line 221, in assert_array_almost_equal<br>
> header='Arrays are not almost equal')<br>
> File<br>
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",<br>
> line 186, in assert_array_compare<br>
> verbose=verbose, header=header)<br>
> File<br>
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py",<br>
> line 677, in assert_array_compare<br>
> raise AssertionError(msg)<br>
> AssertionError:<br>
> Arrays are not almost equal<br>
><br>
> (mismatch 100.0%)<br>
> x: array([ 4.25134878, 1.14131297, 0.20519666,<br>
> 0.01701 ])<br>
> y: array([ 1.9345248 , 0.49711011, 0.10202554,<br>
> 0.00928034])<br>
> _______________________________________________<br>
> NumPy-Discussion mailing list<br>
> <a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></div></div></blockquote><div><br>This is from Travis' push last night adding weights to polyfit.<br><br>Travis, pretty much everything needs undergo review and testing before commits no matter how trivial it may look.<br>
<br>Chuck <br></div><br></div>