Skip to content

Commit 1637aa3

Browse files
committed
XFAIL test_square everywhere due to data-apis/array-api-tests#190
1 parent d43850c commit 1637aa3

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

numpy-1-21-xfails.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -infinity and x
4747
array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -0 and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +0]
4848
array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices
4949

50+
# testsuite issue with test_square
51+
# https://github.com/data-apis/array-api-tests/issues/190
52+
array_api_tests/test_operators_and_elementwise_functions.py::test_square
53+
5054
# NumPy 1.21 specific XFAILS
5155
############################
5256

numpy-xfails.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity
4040
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
4141
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
4242

43+
# testsuite issue with test_square
44+
# https://github.com/data-apis/array-api-tests/issues/190
45+
array_api_tests/test_operators_and_elementwise_functions.py::test_square
46+
4347
# https://github.com/numpy/numpy/issues/21213
4448
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -infinity and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +infinity]
4549
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +0]

torch-xfails.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and
170170
array_api_tests/test_special_cases.py::test_iop[__imod__(x1_i is -0 and x2_i > 0) -> +0]
171171
array_api_tests/test_special_cases.py::test_iop[__imod__(x1_i is +0 and x2_i < 0) -> -0]
172172

173+
# testsuite issue with test_square
174+
# https://github.com/data-apis/array-api-tests/issues/190
175+
array_api_tests/test_operators_and_elementwise_functions.py::test_square
176+
173177
# Float correction is not supported by pytorch
174178
# (https://github.com/data-apis/array-api-tests/issues/168)
175179
array_api_tests/test_special_cases.py::test_empty_arrays[std]

0 commit comments

Comments
 (0)