File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ array_api_tests/test_set_functions.py::test_unique_counts
7676array_api_tests/test_set_functions.py::test_unique_inverse
7777array_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
8185array_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 <
149153array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i > 0) -> +0]
150154array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i < 0) -> -0]
151155array_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]
152157array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is -infinity) -> +infinity]
153158array_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]
154160array_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]
155161array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i < 0) -> +infinity]
156162array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i > 0) -> +0]
Original file line number Diff line number Diff line change @@ -46,3 +46,7 @@ array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i >
4646array_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]
4747array_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]
4848array_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
You can’t perform that action at this time.
0 commit comments