Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: sparse: skip test_inplace_dense for numpy<1.13 #8647

Merged
merged 1 commit into from
Apr 2, 2018

Conversation

pv
Copy link
Member

@pv pv commented Apr 1, 2018

Numpy versions < 1.13 don't respect __array_priority__ for inplace
operations, so the test does not pass.

Before removal of spmatrix.__numpy_ufunc__ in 5bb3190, the
test passed also on numpy < 1.13. However, numpy_ufunc is no longer
present in new Numpy versions.

Supporting (ndarray += sparse) for the old-numpy & new-scipy version
combination is not very important, so we just skip the test in this
case.

Closes gh-8604

@pv pv added this to the 1.1.0 milestone Apr 1, 2018
@pv pv added the scipy.sparse label Apr 1, 2018
Numpy versions < 1.13 don't respect __array_priority__ for inplace
operations, so the test does not pass.

Before removal of spmatrix.__numpy_ufunc__ in 5bb3190, the
test passed also on numpy < 1.13. However, numpy_ufunc is no longer
present in new Numpy versions.

Supporting (ndarray += sparse) for the old-numpy & new-scipy version
combination is not very important, so we just skip the test in this
case.
@perimosocordiae perimosocordiae merged commit 77a614a into scipy:master Apr 2, 2018
@perimosocordiae
Copy link
Member

Looks good, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants