Merged
Conversation
Force both array inputs to Dask Arrays. This avoids potentially converting a different array type to a NumPy array by accident.
6cabfbd to
27f8926
Compare
Member
|
This looks fine to me. I wonder how we should end up testing changes like this. Something with sparse perhaps? (not a requirement for this PR necessarily, just wondering what the right approach is long term) |
Member
|
Also cc @pentschev , just so that he's aware |
Member
Author
|
It's a fair question. Though it's probably one that we want to ask over the test suite as a whole as opposed to each test case. Pytest's fixtures come to mind, but IDK if that is the right solution. Should we move this to an issue to discuss further? |
Member
|
Sure, that makes sense
…On Tue, Mar 5, 2019 at 7:26 PM jakirkham ***@***.***> wrote:
It's a fair question. Though it's probably one that we want to ask over
the test suite as a whole as opposed to each test case. Pytest's fixtures
come to mind, but IDK if that is the right solution. Should we move this to
an issue to discuss further?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4549 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszPHR6QJYLVp5o-A-gGBN9vqsgJvvks5vTxkygaJpZM4bfz32>
.
|
Member
|
I think it would be good indeed to have more tests with Sparse too, in particular for these issues related to NEP-18. I'll try to add some more within the context of #4486. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Force both array inputs to Dask Arrays. This avoids potentially converting a different array type to a NumPy array by accident.
flake8 dask