@@ -23,30 +23,30 @@ jobs:
2323 python -m pip install -r requirements.txt
2424 - name : Run the test suite
2525 env :
26- XPTESTS_MODULE : numpy.array_api
26+ ARRAY_API_TESTS_MODULE : numpy.array_api
2727 run : |
2828 # Mark some known issues as XFAIL
2929 cat << EOF >> xfails.txt
3030
3131 # https://github.com/numpy/numpy/issues/18881
32- xptests /test_creation_functions.py::test_linspace
32+ array_api_tests /test_creation_functions.py::test_linspace
3333 # einsum is not yet completed in the spec
34- xptests /test_signatures.py::test_has_names[einsum]
34+ array_api_tests /test_signatures.py::test_has_names[einsum]
3535 # dlpack support is not yet implemented in NumPy
3636 # See https://github.com/numpy/numpy/pull/19083
37- xptests /test_signatures.py::test_function_positional_args[__dlpack__]
38- xptests /test_signatures.py::test_function_positional_args[__dlpack_device__]
39- xptests /test_signatures.py::test_function_positional_args[from_dlpack]
40- xptests /test_signatures.py::test_function_positional_args[to_device]
41- xptests /test_signatures.py::test_function_keyword_only_args[__dlpack__]
37+ array_api_tests /test_signatures.py::test_function_positional_args[__dlpack__]
38+ array_api_tests /test_signatures.py::test_function_positional_args[__dlpack_device__]
39+ array_api_tests /test_signatures.py::test_function_positional_args[from_dlpack]
40+ array_api_tests /test_signatures.py::test_function_positional_args[to_device]
41+ array_api_tests /test_signatures.py::test_function_keyword_only_args[__dlpack__]
4242 # floor_divide has an issue related to https://github.com/data-apis/array-api/issues/264
43- xptests /test_elementwise_functions.py::test_floor_divide
43+ array_api_tests /test_elementwise_functions.py::test_floor_divide
4444 # mesgrid doesn't return all arrays as the promoted dtype
45- xptests /test_type_promotion.py::test_meshgrid
45+ array_api_tests /test_type_promotion.py::test_meshgrid
4646 # https://github.com/numpy/numpy/pull/20066#issuecomment-947056094
47- xptests /test_type_promotion.py::test_where
47+ array_api_tests /test_type_promotion.py::test_where
4848 # shape mismatches are not handled
49- xptests /test_type_promotion.py::test_tensordot
49+ array_api_tests /test_type_promotion.py::test_tensordot
5050
5151 EOF
5252
0 commit comments