Skip to content

Commit

Permalink
[array API] update test suite to most recent commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Aug 8, 2024
1 parent 0309adf commit 8087afa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jax-array-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
repository: data-apis/array-api-tests
# TODO(jakevdp) update this to a stable release/tag when available.
ref: '33f2d2ea2f3dd2b3ceeeb4519d55e08096184149' # Latest commit as of 2024-05-28
ref: '31468af33199d43b2d90f207bdffa68bfda47470' # Latest commit as of 2024-08-08
submodules: 'true'
path: 'array-api-tests'
- name: Set up Python ${{ matrix.python-version }}
Expand Down
26 changes: 1 addition & 25 deletions tests/array_api_skips.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,12 @@
array_api_tests/test_data_type_functions.py::test_finfo[float32]

# Test suite attempts in-place mutation:
array_api_tests/test_special_cases.py::test_iop
array_api_tests/test_special_cases.py::test_nan_propagation
array_api_tests/test_array_object.py::test_setitem
array_api_tests/test_array_object.py::test_setitem_masking

# Raises NonInteractiveExampleWarning
array_api_tests/test_special_cases.py::test_binary
array_api_tests/test_special_cases.py::test_unary

# Pending implementation update for proper dtype promotion behavior,
# see https://github.com/data-apis/array-api-tests/issues/234
array_api_tests/test_statistical_functions.py::test_sum
array_api_tests/test_statistical_functions.py::test_prod

# Pending bugfix, see https://github.com/data-apis/array-api-tests/issues/256
array_api_tests/test_signatures.py::test_func_signature[logical_and]
array_api_tests/test_signatures.py::test_func_signature[logical_or]
array_api_tests/test_signatures.py::test_func_signature[logical_xor]

# Returns int32 when int64 is expected
array_api_tests/test_searching_functions.py::test_searchsorted

# Various info functions not yet defined
# Pending bugfix, see https://github.com/data-apis/array-api-tests/pull/262
array_api_tests/test_has_names.py::test_has_names[info-capabilities]
array_api_tests/test_has_names.py::test_has_names[info-default_device]
array_api_tests/test_has_names.py::test_has_names[info-default_dtypes]
array_api_tests/test_has_names.py::test_has_names[info-devices]
array_api_tests/test_has_names.py::test_has_names[info-dtypes]
array_api_tests/test_signatures.py::test_func_signature[capabilities]
array_api_tests/test_signatures.py::test_func_signature[default_device]
array_api_tests/test_signatures.py::test_func_signature[default_dtypes]
array_api_tests/test_signatures.py::test_func_signature[devices]
array_api_tests/test_signatures.py::test_func_signature[dtypes]

0 comments on commit 8087afa

Please sign in to comment.