Skip to content

Commit 069ee06

Browse files
authored
Merge pull request #387 from ev-br/upd_cupy_xfails
MAINT: update cupy xfails
2 parents be440d5 + d2dfd58 commit 069ee06

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cupy-xfails.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_sc
4444
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[copysign]
4545
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[divide]
4646
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[maximum]
47+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[add]
48+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[minimum]
49+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[multiply]
50+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[subtract]
51+
4752

4853
# cupy (arg)min/max wrong with infinities
4954
# https://github.com/cupy/cupy/issues/7424
@@ -176,7 +181,7 @@ array_api_tests/test_special_cases.py::test_unary[tan(x_i is -0) -> -0]
176181
array_api_tests/test_special_cases.py::test_unary[tanh(x_i is -0) -> -0]
177182
array_api_tests/test_special_cases.py::test_unary[trunc(x_i is -0) -> -0]
178183

179-
# complex cases
184+
# complex spec cases
180185
array_api_tests/test_special_cases.py::test_unary[acosh(real(x_i) is +0 and imag(x_i) is NaN) -> NaN \xb1 \u03c0j/2]
181186
array_api_tests/test_special_cases.py::test_unary[log(real(x_i) is -0 and imag(x_i) is +0) -> -infinity + \u03c0j]
182187
array_api_tests/test_special_cases.py::test_unary[log((real(x_i) is +infinity or real(x_i) == -infinity) and imag(x_i) is NaN) -> +infinity + NaN j]
@@ -186,6 +191,7 @@ array_api_tests/test_special_cases.py::test_unary[log1p(real(x_i) is NaN and ima
186191
array_api_tests/test_special_cases.py::test_unary[sqrt(real(x_i) is +infinity and isfinite(imag(x_i)) and imag(x_i) > 0) -> +0 + infinity j]
187192
array_api_tests/test_special_cases.py::test_unary[tanh(real(x_i) is +0 and imag(x_i) is +infinity) -> +0 + NaN j]
188193
array_api_tests/test_special_cases.py::test_unary[tanh(real(x_i) is +0 and imag(x_i) is NaN) -> +0 + NaN j]
194+
array_api_tests/test_special_cases.py::test_unary[tanh(real(x_i) is +infinity and isfinite(imag(x_i)) and imag(x_i) > 0) -> 1 + 0j]
189195

190196
# CuPy gives the wrong shape for n-dim fft funcs. See
191197
# https://github.com/data-apis/array-api-compat/pull/78#issuecomment-1984527870

0 commit comments

Comments
 (0)