Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2adb31f

Browse files
committed
TST: add xfails for the Array API test failures
The failures are now new and are due to the test suite updates.
1 parent 634f2a6 commit 2adb31f

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

tools/ci/array-api-xfails.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_clip
4141
array_api_tests/test_signatures.py::test_extension_func_signature[fft.fftfreq]
4242
array_api_tests/test_signatures.py::test_extension_func_signature[fft.rfftfreq]
4343

44+
array_api_tests/test_fft.py::test_fftfreq
45+
array_api_tests/test_fft.py::test_rfftfreq
46+
4447
# fails on np.repeat(np.array([]), np.array([])) test case
4548
array_api_tests/test_manipulation_functions.py::test_repeat
4649

@@ -63,3 +66,13 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity
6366
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
6467
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
6568
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
69+
70+
# complex plane special cases
71+
array_api_tests/test_special_cases.py::test_unary[expm1((real(x_i) is +0 or real(x_i) == -0) and imag(x_i) is +0) -> 0 + 0j]
72+
array_api_tests/test_special_cases.py::test_unary[expm1(real(x_i) is +infinity and imag(x_i) is +0) -> +infinity + 0j]
73+
array_api_tests/test_special_cases.py::test_unary[expm1(real(x_i) is -infinity and imag(x_i) is +infinity) -> -1 + 0j]
74+
array_api_tests/test_special_cases.py::test_unary[expm1(real(x_i) is +infinity and imag(x_i) is +infinity) -> infinity + NaN j]
75+
array_api_tests/test_special_cases.py::test_unary[expm1(real(x_i) is -infinity and imag(x_i) is NaN) -> -1 + 0j]
76+
array_api_tests/test_special_cases.py::test_unary[expm1(real(x_i) is +infinity and imag(x_i) is NaN) -> infinity + NaN j]
77+
array_api_tests/test_special_cases.py::test_unary[expm1(real(x_i) is NaN and imag(x_i) is +0) -> NaN + 0j]
78+
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]

0 commit comments

Comments
 (0)