-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
I'm currently running this test suite against PyTorch. For now uint16
, uint32
, and uint64
are not supported. Unfortunately, this marks a lot of tests as failing completely instead of only failing for these dtypes. For example in
array-api-tests/array_api_tests/test_broadcasting.py
Lines 113 to 117 in b47e667
@pytest.mark.parametrize('func_name', [i for i in | |
elementwise_functions.__all__ if | |
nargs(i) > 1]) | |
@given(shape1=shapes, shape2=shapes, dtype=data()) | |
def test_broadcasting_hypothesis(func_name, shape1, shape2, dtype): |
only the operator name is regarded as parameter, whereas the shapes and the dtype in handled within the test.
To make this easier it should be possible to
- disable unsupported dtypes in one central place, or
- make the dtype a parameter so it can be deselected with
pytest
's-k
flag.
Metadata
Metadata
Assignees
Labels
No labels