Skip to content

Commit f8cbed4

Browse files
committed
Update XFAILs
1 parent 0706387 commit f8cbed4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

numpy-1-21-xfails.txt

+6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ array_api_tests/test_set_functions.py::test_unique_counts
7676
array_api_tests/test_set_functions.py::test_unique_inverse
7777
array_api_tests/test_set_functions.py::test_unique_values
7878

79+
# The test suite is incorrectly checking sums that have loss of significance
80+
# (https://github.com/data-apis/array-api-tests/issues/168)
81+
array_api_tests/test_statistical_functions.py::test_sum
82+
7983
# NumPy 1.21 doesn't support NPY_PROMOTION_STATE=weak, so many tests fail with
8084
# type promotion issues
8185
array_api_tests/test_manipulation_functions.py::test_concat
@@ -149,8 +153,10 @@ array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i <
149153
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i > 0) -> +0]
150154
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i < 0) -> -0]
151155
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i > 0) -> +0]
156+
array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is +infinity) -> +0]
152157
array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is -infinity) -> +infinity]
153158
array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) > 1 and x2_i is +infinity) -> +infinity]
159+
array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) > 1 and x2_i is -infinity) -> +0]
154160
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i < 0 and isfinite(x1_i) and isfinite(x2_i) and not x2_i.is_integer()) -> NaN]
155161
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i < 0) -> +infinity]
156162
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i > 0) -> +0]

numpy-xfails.txt

+4
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i >
4646
array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -infinity and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +infinity]
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
49+
50+
# The test suite is incorrectly checking sums that have loss of significance
51+
# (https://github.com/data-apis/array-api-tests/issues/168)
52+
array_api_tests/test_statistical_functions.py::test_sum

0 commit comments

Comments
 (0)