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

Ignore asserting out dtype for undefined dtypes in test_prod #122

Merged
merged 1 commit into from
May 17, 2022

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