Skip to content

Commit 787b14f

Browse files
committed
Remove xfail for test_square
data-apis/array-api-tests#190 has been fixed.
1 parent 2bcc8e6 commit 787b14f

File tree

4 files changed

+12
-28
lines changed

4 files changed

+12
-28
lines changed

cupy-xfails.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ array_api_tests/test_statistical_functions.py::test_max
5656
# (https://github.com/data-apis/array-api-tests/issues/171)
5757
array_api_tests/test_signatures.py::test_func_signature[meshgrid]
5858

59-
# testsuite issue with test_square
60-
# https://github.com/data-apis/array-api-tests/issues/190
61-
array_api_tests/test_operators_and_elementwise_functions.py::test_square
62-
6359
# We cannot add array attributes
6460
array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__]
6561
array_api_tests/test_signatures.py::test_array_method_signature[__index__]

numpy-1-21-xfails.txt

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,18 @@ array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -infinity and x
5050
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]
5151
array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices
5252

53-
# testsuite issue with test_square
54-
# https://github.com/data-apis/array-api-tests/issues/190
55-
array_api_tests/test_operators_and_elementwise_functions.py::test_square
53+
# fft functions are not yet supported
54+
# (https://github.com/data-apis/array-api-compat/issues/67)
55+
array_api_tests/test_fft.py::test_fft
56+
array_api_tests/test_fft.py::test_ifft
57+
array_api_tests/test_fft.py::test_fftn
58+
array_api_tests/test_fft.py::test_ifftn
59+
array_api_tests/test_fft.py::test_rfft
60+
array_api_tests/test_fft.py::test_irfft
61+
array_api_tests/test_fft.py::test_rfftn
62+
array_api_tests/test_fft.py::test_irfftn
63+
array_api_tests/test_fft.py::test_hfft
64+
array_api_tests/test_fft.py::test_ihfft
5665

5766
# NumPy 1.21 specific XFAILS
5867
############################
@@ -236,16 +245,3 @@ array_api_tests/test_special_cases.py::test_binary[remainder(x1_i is +0 and x2_i
236245
array_api_tests/test_special_cases.py::test_binary[remainder(x1_i is -0 and x2_i < 0) -> -0]
237246
array_api_tests/test_special_cases.py::test_binary[remainder(x1_i is -0 and x2_i > 0) -> +0]
238247
array_api_tests/test_special_cases.py::test_iop[__iadd__(x1_i is -0 and x2_i is -0) -> -0]
239-
240-
# fft functions are not yet supported
241-
# (https://github.com/data-apis/array-api-compat/issues/67)
242-
array_api_tests/test_fft.py::test_fft
243-
array_api_tests/test_fft.py::test_ifft
244-
array_api_tests/test_fft.py::test_fftn
245-
array_api_tests/test_fft.py::test_ifftn
246-
array_api_tests/test_fft.py::test_rfft
247-
array_api_tests/test_fft.py::test_irfft
248-
array_api_tests/test_fft.py::test_rfftn
249-
array_api_tests/test_fft.py::test_irfftn
250-
array_api_tests/test_fft.py::test_hfft
251-
array_api_tests/test_fft.py::test_ihfft

numpy-xfails.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ 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-
4743
# https://github.com/numpy/numpy/issues/21213
4844
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]
4945
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: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ array_api_tests/test_special_cases.py::test_iop[__imod__(x1_i is +0 and x2_i < 0
171171
array_api_tests/test_special_cases.py::test_iop[__imod__(x1_i is -0 and x2_i > 0) -> +0]
172172
array_api_tests/test_special_cases.py::test_unary[sign(x_i is NaN) -> NaN]
173173

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

0 commit comments

Comments
 (0)