Skip to content

iinfo() tests should ignore undefined unsigned dtypes #166

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

Closed
asmeurer opened this issue Feb 2, 2023 · 0 comments · Fixed by #184
Closed

iinfo() tests should ignore undefined unsigned dtypes #166

asmeurer opened this issue Feb 2, 2023 · 0 comments · Fixed by #184

Comments

@asmeurer
Copy link
Member

asmeurer commented Feb 2, 2023

iinfo tests fail with pytorch, which is missing these dtypes:

FAILED array_api_tests/test_data_type_functions.py::test_iinfo[uint16] - TypeError: iinfo(): argument 'type' (position 1) must be torch.dtype, not _UndefinedStub
FAILED array_api_tests/test_data_type_functions.py::test_iinfo[uint32] - TypeError: iinfo(): argument 'type' (position 1) must be torch.dtype, not _UndefinedStub
FAILED array_api_tests/test_data_type_functions.py::test_iinfo[uint64] - TypeError: iinfo(): argument 'type' (position 1) must be torch.dtype, not _UndefinedStub
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 a pull request may close this issue.

1 participant