Fixes this: http://projects.scipy.org/scipy/ticket/1597
Can't really add an unit test for this, since the data is held on C level.
@rc: do you concur?
The WarningManager stuff is for present Numpy.
BUG: sparse/umfpack: free data in UmfpackContext.__del__ (#1597)
TST: sparse/umfpack: run tests despite the deprecationwarning
The error on deprecation should be reverted before release in Numpy. But why are you seeing it? I don't you adding anything that can cause a new one here.
Either way those warnings should be filtered out of the tests.
@pv Yes, the patch seems ok.
@rgommers: the DeprecationWarning raised by the umfpack routines is converted into an error, so these tests are not otherwise ran when using the dev version of Numpy.
I'll backport to 0.10.x too.