@@ -23,30 +23,30 @@ jobs:
23
23
python -m pip install -r requirements.txt
24
24
- name : Run the test suite
25
25
env :
26
- XPTESTS_MODULE : numpy.array_api
26
+ ARRAY_API_TESTS_MODULE : numpy.array_api
27
27
run : |
28
28
# Mark some known issues as XFAIL
29
29
cat << EOF >> xfails.txt
30
30
31
31
# 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
33
33
# 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]
35
35
# dlpack support is not yet implemented in NumPy
36
36
# 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__]
42
42
# 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
44
44
# 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
46
46
# 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
48
48
# shape mismatches are not handled
49
- xptests /test_type_promotion.py::test_tensordot
49
+ array_api_tests /test_type_promotion.py::test_tensordot
50
50
51
51
EOF
52
52
0 commit comments