On Wed, Sep 14, 2011 at 10:45 PM, Samuel John <scipy@samueljohn.de> wrote:
Hi Nils,

which version of numpy, which os?

Latest master. Due to https://github.com/numpy/numpy/commit/af22fc43

Travis, did you run the test suite? arange is used but not imported.

Ralf

 
I can infer that you use python 2.6 in 64bit, right?

Right after the beginning of the numpy.test() are some crucial information.

bests
 Samuel

On 14.09.2011, at 22:09, Nils Wagner wrote:

> ERROR: test_polyfit (test_polynomial.TestDocs)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/lib/tests/test_polynomial.py",
> line 106, in test_polyfit
>     weights = arange(8,1,-1)**2/7.0
> NameError: global name 'arange' is not defined
>
> ======================================================================
> FAIL: Tests polyfit
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/tests/test_extras.py",
> line 622, in test_polyfit
>     assert_almost_equal(a, a_)
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",
> line 155, in assert_almost_equal
>     err_msg=err_msg, verbose=verbose)
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",
> line 221, in assert_array_almost_equal
>     header='Arrays are not almost equal')
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/ma/testutils.py",
> line 186, in assert_array_compare
>     verbose=verbose, header=header)
>   File
> "/home/nwagner/local/lib64/python2.6/site-packages/numpy/testing/utils.py",
> line 677, in assert_array_compare
>     raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal
>
> (mismatch 100.0%)
>  x: array([ 4.25134878,  1.14131297,  0.20519666,
> 0.01701   ])
>  y: array([ 1.9345248 ,  0.49711011,  0.10202554,
> 0.00928034])
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion