Skip to content

Commit 09b5a6f

Browse files
committed
Add comments for the rest of the cupy xfails
1 parent 111a122 commit 09b5a6f

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

cupy-xfails.txt

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,27 @@ array_api_tests/test_linalg.py::test_trace
3232
array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__truediv__(x, s)]
3333
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x1, x2)]
3434
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__imod__(x1, x2)]
35-
#
36-
# array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[remainder(x1, x2)]
35+
# floating point inaccuracy
36+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[remainder(x1, x2)]
37+
38+
# cupy (arg)min/max wrong with infinities
39+
# https://github.com/cupy/cupy/issues/7424
3740
array_api_tests/test_searching_functions.py::test_argmax
41+
array_api_tests/test_searching_functions.py::test_argmin
42+
array_api_tests/test_statistical_functions.py::test_min
43+
array_api_tests/test_statistical_functions.py::test_max
44+
45+
# testsuite incorrectly thinks meshgrid doesn't have indexing argument
46+
# (https://github.com/data-apis/array-api-tests/issues/171)
3847
array_api_tests/test_signatures.py::test_func_signature[meshgrid]
48+
49+
# We cannot add array attributes
3950
array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__]
4051
array_api_tests/test_signatures.py::test_array_method_signature[__index__]
4152
array_api_tests/test_signatures.py::test_array_method_signature[to_device]
42-
array_api_tests/test_sorting_functions.py::test_argsort
43-
array_api_tests/test_sorting_functions.py::test_sort
53+
54+
# We do not attempt to workaround special cases (and the operator method ones
55+
4456
array_api_tests/test_special_cases.py::test_unary[abs(x_i is -0) -> +0]
4557
array_api_tests/test_special_cases.py::test_unary[__abs__(x_i is -0) -> +0]
4658
array_api_tests/test_special_cases.py::test_unary[asin(x_i is -0) -> -0]
@@ -148,4 +160,3 @@ array_api_tests/test_special_cases.py::test_iop[__imod__(isfinite(x1_i) and x1_i
148160
array_api_tests/test_special_cases.py::test_iop[__imod__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> x2_i]
149161
array_api_tests/test_special_cases.py::test_iop[__imod__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> x2_i]
150162
array_api_tests/test_special_cases.py::test_iop[__imod__(isfinite(x1_i) and x1_i < 0 and x2_i is -infinity) -> x1_i]
151-
array_api_tests/test_statistical_functions.py::test_min

0 commit comments

Comments
 (0)