Skip to content

Commit 58cd3b9

Browse files
authored
Merge pull request #30 from asmeurer/xfails-update
Update XFAILs
2 parents 2807a6a + 0feabdb commit 58cd3b9

File tree

4 files changed

+30
-7
lines changed

4 files changed

+30
-7
lines changed

numpy-1-21-xfails.txt

Lines changed: 7 additions & 0 deletions
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
@@ -113,6 +117,7 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[_
113117
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x, s)]
114118
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[floor_divide(x1, x2)]
115119
array_api_tests/test_operators_and_elementwise_functions.py::test_greater[greater(x1, x2)]
120+
array_api_tests/test_operators_and_elementwise_functions.py::test_less[__lt__(x1, x2)]
116121
array_api_tests/test_operators_and_elementwise_functions.py::test_logaddexp
117122
array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__imul__(x, s)]
118123
array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x, s)]
@@ -149,8 +154,10 @@ array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i <
149154
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i > 0) -> +0]
150155
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i < 0) -> -0]
151156
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i > 0) -> +0]
157+
array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is +infinity) -> +0]
152158
array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is -infinity) -> +infinity]
153159
array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) > 1 and x2_i is +infinity) -> +infinity]
160+
array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) > 1 and x2_i is -infinity) -> +0]
154161
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]
155162
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i < 0) -> +infinity]
156163
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i > 0) -> +0]

numpy-skips.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# These tests cause a core dump on CI, so we have to skip them entirely
2+
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x, s)]
3+
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x1, x2)]
4+
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x, s)]
5+
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x1, x2)]
6+
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[floor_divide(x1, x2)]
7+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__imod__(x, s)]
8+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__imod__(x1, x2)]
9+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x, s)]
10+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x1, x2)]
11+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[remainder(x1, x2)]

numpy-xfails.txt

Lines changed: 4 additions & 0 deletions
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

torch-skips.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# These tests cause a core dump on CI, so we have to skip them entirely
2-
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[remainder(x1, x2)]
3-
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x, s)]
4-
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x1, x2)]
5-
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__imod__(x1, x2)]
6-
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__imod__(x, s)]
7-
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[floor_divide(x1, x2)]
2+
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x, s)]
83
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x1, x2)]
9-
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x1, x2)]
104
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x, s)]
5+
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x1, x2)]
6+
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[floor_divide(x1, x2)]
7+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__imod__(x, s)]
8+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__imod__(x1, x2)]
9+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x, s)]
10+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mod__(x1, x2)]
11+
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[remainder(x1, x2)]

0 commit comments

Comments
 (0)