Skip to content

Commit 2adea00

Browse files
authored
Merge pull request #319 from ev-br/upd_skips
MAINT: update CuPy xfails
2 parents 1acba0c + 4e3d809 commit 2adea00

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

cupy-xfails.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__sub
3434
array_api_tests/test_operators_and_elementwise_functions.py::test_add[__add__(x, s)]
3535
# floating point inaccuracy
3636
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[remainder(x1, x2)]
37+
# incomplete NEP50 support in CuPy 13.x (fixed in 14.0.0a1)
38+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[pow]
39+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[logaddexp]
40+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[nextafter]
41+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[hypot]
3742

3843
# cupy (arg)min/max wrong with infinities
3944
# https://github.com/cupy/cupy/issues/7424
@@ -182,7 +187,6 @@ array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
182187
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
183188

184189
# 2024.12 support
185-
array_api_tests/test_signatures.py::test_func_signature[count_nonzero]
186190
array_api_tests/test_signatures.py::test_func_signature[bitwise_and]
187191
array_api_tests/test_signatures.py::test_func_signature[bitwise_left_shift]
188192
array_api_tests/test_signatures.py::test_func_signature[bitwise_or]

numpy-1-22-xfails.txt

+7
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[subtr
123123
array_api_tests/test_searching_functions.py::test_where
124124
array_api_tests/test_special_cases.py::test_iop[__iadd__(x1_i is -0 and x2_i is -0) -> -0]
125125

126+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[add]
127+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[divide]
128+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[hypot]
129+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[subtract]
130+
131+
array_api_tests/test_operators_and_elementwise_functions.py::test_where_with_scalars
132+
126133
# 2023.12 support
127134
array_api_tests/test_has_names.py::test_has_names[creation-from_dlpack]
128135
array_api_tests/test_signatures.py::test_func_signature[from_dlpack]

numpy-1-26-xfails.txt

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ array_api_tests/test_signatures.py::test_func_signature[bitwise_right_shift]
5050
array_api_tests/test_signatures.py::test_func_signature[bitwise_xor]
5151
array_api_tests/test_data_type_functions.py::TestResultType::test_with_scalars
5252

53+
array_api_tests/test_operators_and_elementwise_functions.py::test_where_with_scalars
54+
5355
# Stubs have a comment: (**note**: libraries may return ``NaN`` to match Python behavior.); Apparently, NumPy does just that
5456
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
5557
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]

0 commit comments

Comments
 (0)