From 8087afab3dd9cad4ce377bbb0dedd3e1fbfc7f00 Mon Sep 17 00:00:00 2001 From: Jake VanderPlas Date: Thu, 8 Aug 2024 11:40:33 -0700 Subject: [PATCH] [array API] update test suite to most recent commit --- .github/workflows/jax-array-api.yml | 2 +- tests/array_api_skips.txt | 26 +------------------------- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/jax-array-api.yml b/.github/workflows/jax-array-api.yml index 78cddb411feb..df3af9178b82 100644 --- a/.github/workflows/jax-array-api.yml +++ b/.github/workflows/jax-array-api.yml @@ -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 }} diff --git a/tests/array_api_skips.txt b/tests/array_api_skips.txt index f7d80d94f96f..e5cf79b57475 100644 --- a/tests/array_api_skips.txt +++ b/tests/array_api_skips.txt @@ -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]