TST: Test dimensions/indices found from parsed gufunc signatures.#11178
Conversation
numpy/core/tests/test_ufunc.py
8000
Outdated
There was a problem hiding this comment.
Might be nicer to build a nested tuple here, and I don't envisage it being any harder
There was a problem hiding this comment.
One suggestion, but fine to merge as is
|
I think for the testing purposes here it is perhaps better to just give back what the ufunc contains. I have been wondering more generally, though, about some way to expose this information -- maybe as simple as a nicer |
c1233ed to
d0e5e39
Compare
|
@mattip - are you happy with this going in separately? (I do apologize for hijacking your PR...) |
Arguably the ufunc just contains a representation of nested tuple, split between I don't feel strongly about this - looks like a good thing to test however you spell it |
|
LGTM, breaking the larger work into a number of smaller PRs is the way to go |
Another split-off from #11132 - expanded signature testing.