Skip to content

Conversation

honno
Copy link
Member

@honno honno commented May 17, 2022

Resolves #106 by blanket ignoring dtype assertions when what's expected doesn't exist, e.g. the default uint. Couldn't introduce a warning easily as I forgot we're using Hypothesis, so opted to do this completely silently 😅

Also ignoring dtype assertions (as well as shape assertions) before testing values isn't ideal, as it can obfuscate the core problems. Fortunately for test_prod I can't see this being a problem with the PyTorch scenario, although other partial dtype scenarios could be problematic... but don't seem to exist!

@honno honno merged commit 71639af into data-apis:master May 17, 2022
@honno honno deleted the prod-partial-dtypes branch February 28, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_prod failing for PyTorch due to unsupported dtypes
1 participant