scipy/scipy — pull request #3344 by argriffing (2014-02-18 17:17:12+00:00)
Title: BUG: in interp use 'take' in a less brittle way

Fixes an error raised when I test scipy with the numpy development branch.

```
======================================================================
ERROR: test_dlsim (test_dltisys.TestDLTI)
----------------------------------------------------------------------
Traceback (most recent call last):
/scipy/signal/tests/test_dltisys.py", line 53, in test_dlsim
tout, yout, xout = dlsim((a, b, c, d, dt), u_sparse, t_sparse)
/scipy/interpolate/interpolate.py", line 370, in __init__
np.take(y, ind, axis=axis, out=y)
/numpy/core/fromnumeric.py", line 118, in take
return take(indices, axis, out, mode)
ValueError: UPDATEIFCOPY base is read-only
```

By the way, when I run the scipy tests with the numpy development branch, DeprecationWarning and RuntimeWarning are also raised as exceptions (rather than appearing as warnings), without having made any change to the scipy runtests.py script. Is this expected or does it mean that I probably installed something wrong?