[SciPy-Dev] Patch for scipy/signal/windows.py
Nils Wagner
nils106@googlemail....
Tue Feb 5 13:11:28 CST 2013
======================================================================
ERROR: test_cases (test_solvers.TestSolveDiscreteARE)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/nwagner/local/lib64/python2.7/site-packages/scipy/linalg/tests/test_solvers.py",
line 129, in test_cases
self.check_case(case[0], case[1], case[2], case[3])
File
"/home/nwagner/local/lib64/python2.7/site-packages/scipy/linalg/tests/test_solvers.py",
line 123, in check_case
x = solve_discrete_are(a, b, q, r)
File
"/home/nwagner/local/lib64/python2.7/site-packages/scipy/linalg/_solvers.py",
line 272, in solve_discrete_are
u11 = u[0:m/2, 0:n/2]
DeprecationWarning: non-integer slice parameter. In a future numpy release,
this will raise an error.
======================================================================
ERROR: test_real_valid_mode (test_signaltools.TestFFTConvolve)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/nwagner/local/lib64/python2.7/site-packages/scipy/signal/tests/test_signaltools.py",
line 168, in test_real_valid_mode
c = signal.fftconvolve(a,b,'valid')
File
"/home/nwagner/local/lib64/python2.7/site-packages/scipy/signal/signaltools.py",
line 164, in fftconvolve
return _centered(ret, abs(s2 - s1) + 1)
File
"/home/nwagner/local/lib64/python2.7/site-packages/scipy/signal/signaltools.py",
line 133, in _centered
return arr[tuple(myslice)]
DeprecationWarning: non-integer slice parameter. In a future numpy release,
this will raise an error.
======================================================================
ERROR: iterating a structure 3
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/home/nwagner/local/lib64/python2.7/site-packages/scipy/ndimage/tests/test_ndimage.py",
line 3075, in test_iterate_structure03
out = ndimage.iterate_structure(struct, 2, 1)
File
"/home/nwagner/local/lib64/python2.7/site-packages/scipy/ndimage/morphology.py",
line 118, in iterate_structure
out[slc] = structure != 0
DeprecationWarning: non-integer slice parameter. In a future numpy release,
this will raise an error.
On Mon, Feb 4, 2013 at 9:38 PM, Pauli Virtanen <pav@iki.fi> wrote:
> 04.02.2013 22:53, Nils Wagner kirjoitti:
> > scipy.test()
> >
> > results in several errors of the form
> [clip]
>
> Indeed, this is a consequence of
>
> from __future__ import division
>
> The warnings indicate that this state of matters existed on Python 3
> (2to3 doesn't change / to //) since Scipy 0.9.0, but nobody noticed...
>
> Steps to catch 'em
>
> - Recent Numpy git maste
>
> - scipy.test("not slow", verbose=2, raise_warnings="develop")
>
> --
> Pauli Virtanen
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20130205/4cc8e8b3/attachment.html
More information about the SciPy-Dev
mailing list