1
1
# asarray(copy=False) is not yet implemented
2
2
array_api_tests/test_creation_functions.py::test_asarray_arrays
3
3
4
- # https://github.com/data-apis/array-api-tests/issues/195
5
- array_api_tests/test_creation_functions.py::test_linspace
6
-
7
4
# finfo(float32).eps returns float32 but should return float
8
5
array_api_tests/test_data_type_functions.py::test_finfo[float32]
9
6
@@ -13,12 +10,6 @@ array_api_tests/test_has_names.py::test_has_names[array_method-to_device]
13
10
array_api_tests/test_has_names.py::test_has_names[array_attribute-device]
14
11
array_api_tests/test_has_names.py::test_has_names[array_attribute-mT]
15
12
16
- # linalg tests require https://github.com/data-apis/array-api-tests/pull/101
17
- # cleanups. Also some tests are using .mT
18
- array_api_tests/test_linalg.py::test_eigvalsh
19
- array_api_tests/test_linalg.py::test_solve
20
- array_api_tests/test_linalg.py::test_trace
21
-
22
13
# Array methods and attributes not already on np.ndarray cannot be wrapped
23
14
array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__]
24
15
array_api_tests/test_signatures.py::test_array_method_signature[to_device]
@@ -44,10 +35,6 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and
44
35
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
45
36
46
37
# https://github.com/numpy/numpy/issues/21213
47
- 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]
48
- 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]
49
- 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]
50
- 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]
51
38
array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices
52
39
53
40
# NumPy 1.21 specific XFAILS
@@ -80,72 +67,42 @@ array_api_tests/test_searching_functions.py::test_argmin
80
67
array_api_tests/test_signatures.py::test_func_signature[argmax]
81
68
array_api_tests/test_signatures.py::test_func_signature[argmin]
82
69
83
- # unique doesn't support comparing nans as unequal
84
- array_api_tests/test_set_functions.py::test_unique_all
85
- array_api_tests/test_set_functions.py::test_unique_counts
86
- array_api_tests/test_set_functions.py::test_unique_inverse
87
- array_api_tests/test_set_functions.py::test_unique_values
88
-
89
- # The test suite is incorrectly checking sums that have loss of significance
90
- # (https://github.com/data-apis/array-api-tests/issues/168)
91
- array_api_tests/test_statistical_functions.py::test_sum
92
- array_api_tests/test_statistical_functions.py::test_prod
93
-
94
70
# NumPy 1.21 doesn't support NPY_PROMOTION_STATE=weak, so many tests fail with
95
71
# type promotion issues
96
72
array_api_tests/test_manipulation_functions.py::test_concat
97
73
array_api_tests/test_operators_and_elementwise_functions.py::test_add[__add__(x, s)]
98
- array_api_tests/test_operators_and_elementwise_functions.py::test_add[__add__(x1, x2)]
99
74
array_api_tests/test_operators_and_elementwise_functions.py::test_add[__iadd__(x, s)]
100
- array_api_tests/test_operators_and_elementwise_functions.py::test_add[add(x1, x2)]
101
75
array_api_tests/test_operators_and_elementwise_functions.py::test_atan2
102
76
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_and[__and__(x, s)]
103
77
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_and[__and__(x1, x2)]
104
78
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_and[__iand__(x, s)]
105
- array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_and[bitwise_and(x1, x2)]
106
79
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_left_shift[__ilshift__(x, s)]
107
80
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_left_shift[__lshift__(x, s)]
108
- array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_left_shift[__lshift__(x1, x2)]
109
- array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_left_shift[bitwise_left_shift(x1, x2)]
110
81
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_or[__ior__(x, s)]
111
82
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_or[__or__(x, s)]
112
83
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_or[__or__(x1, x2)]
113
84
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_or[bitwise_or(x1, x2)]
114
85
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_right_shift[__irshift__(x, s)]
115
86
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_right_shift[__rshift__(x, s)]
116
- array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_right_shift[__rshift__(x1, x2)]
117
87
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_right_shift[bitwise_right_shift(x1, x2)]
118
88
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_xor[__ixor__(x, s)]
119
89
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_xor[__xor__(x, s)]
120
- array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_xor[__xor__(x1, x2)]
121
90
array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_xor[bitwise_xor(x1, x2)]
122
91
array_api_tests/test_operators_and_elementwise_functions.py::test_copysign
123
92
array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__truediv__(x, s)]
124
93
array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__truediv__(x1, x2)]
125
94
array_api_tests/test_operators_and_elementwise_functions.py::test_divide[divide(x1, x2)]
126
- array_api_tests/test_operators_and_elementwise_functions.py::test_equal[__eq__(x1, x2)]
127
- array_api_tests/test_operators_and_elementwise_functions.py::test_equal[equal(x1, x2)]
128
95
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x, s)]
129
96
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x1, x2)]
130
97
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x, s)]
131
98
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[floor_divide(x1, x2)]
132
- array_api_tests/test_operators_and_elementwise_functions.py::test_greater[__gt__(x1, x2)]
133
- array_api_tests/test_operators_and_elementwise_functions.py::test_greater[greater(x1, x2)]
134
- array_api_tests/test_operators_and_elementwise_functions.py::test_greater_equal[greater_equal(x1, x2)]
135
99
array_api_tests/test_operators_and_elementwise_functions.py::test_hypot
136
- array_api_tests/test_operators_and_elementwise_functions.py::test_less[__lt__(x1, x2)]
137
- array_api_tests/test_operators_and_elementwise_functions.py::test_less[less(x1, x2)]
138
- array_api_tests/test_operators_and_elementwise_functions.py::test_less_equal[__le__(x1, x2)]
139
- array_api_tests/test_operators_and_elementwise_functions.py::test_less_equal[less_equal(x1, x2)]
140
100
array_api_tests/test_operators_and_elementwise_functions.py::test_logaddexp
141
- array_api_tests/test_operators_and_elementwise_functions.py::test_maximum
142
101
array_api_tests/test_operators_and_elementwise_functions.py::test_minimum
143
102
array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__imul__(x, s)]
144
103
array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x, s)]
145
104
array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x1, x2)]
146
105
array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[multiply(x1, x2)]
147
- array_api_tests/test_operators_and_elementwise_functions.py::test_not_equal[__ne__(x1, x2)]
148
- array_api_tests/test_operators_and_elementwise_functions.py::test_not_equal[not_equal(x1, x2)]
149
106
array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__ipow__(x, s)]
150
107
array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__pow__(x, s)]
151
108
array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__pow__(x1, x2)]
@@ -156,11 +113,7 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[__mo
156
113
array_api_tests/test_operators_and_elementwise_functions.py::test_remainder[remainder(x1, x2)]
157
114
array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__isub__(x, s)]
158
115
array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__sub__(x, s)]
159
- array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__sub__(x1, x2)]
160
116
array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[subtract(x1, x2)]
161
- array_api_tests/test_searching_functions.py::test_where
162
- array_api_tests/test_special_cases.py::test_binary[__add__((x1_i is +0 or x1_i == -0) and isfinite(x2_i) and x2_i != 0) -> x2_i]
163
- array_api_tests/test_special_cases.py::test_binary[__add__(isfinite(x1_i) and x1_i != 0 and (x2_i is +0 or x2_i == -0)) -> x1_i]
164
117
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i < 0 and x2_i is +0) -> -infinity]
165
118
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i < 0 and x2_i is -0) -> +infinity]
166
119
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i > 0 and x2_i is +0) -> +infinity]
@@ -177,44 +130,18 @@ array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i <
177
130
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i > 0) -> +0]
178
131
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i < 0) -> -0]
179
132
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i > 0) -> +0]
180
- array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is +infinity) -> +0]
181
- array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) < 1 and x2_i is -infinity) -> +infinity]
182
- array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) > 1 and x2_i is +infinity) -> +infinity]
183
- array_api_tests/test_special_cases.py::test_binary[__pow__(abs(x1_i) > 1 and x2_i is -infinity) -> +0]
184
133
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]
185
134
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i < 0) -> +infinity]
186
135
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +0 and x2_i > 0) -> +0]
187
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +infinity and x2_i < 0) -> +0]
188
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is +infinity and x2_i > 0) -> +infinity]
189
136
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)) -> +infinity]
190
137
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i < 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -infinity]
191
138
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i > 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -0]
192
139
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)) -> +0]
193
140
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -infinity and x2_i < 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -0]
194
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -infinity and x2_i > 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -infinity]
195
- array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is NaN and not x2_i == 0) -> NaN]
196
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i < 0 and x2_i is +0) -> -infinity]
197
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i < 0 and x2_i is -0) -> +infinity]
198
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i > 0 and x2_i is +0) -> +infinity]
199
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i > 0 and x2_i is -0) -> -infinity]
200
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is +0 and x2_i < 0) -> -0]
201
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is +0 and x2_i > 0) -> +0]
202
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is -0 and x2_i < 0) -> +0]
203
- array_api_tests/test_special_cases.py::test_binary[__truediv__(x1_i is -0 and x2_i > 0) -> -0]
204
- array_api_tests/test_special_cases.py::test_binary[add((x1_i is +0 or x1_i == -0) and isfinite(x2_i) and x2_i != 0) -> x2_i]
205
- array_api_tests/test_special_cases.py::test_binary[add(isfinite(x1_i) and x1_i != 0 and (x2_i is +0 or x2_i == -0)) -> x1_i]
206
141
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i < 0 and x2_i is +0) -> roughly -pi/2]
207
142
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i < 0 and x2_i is -0) -> roughly -pi/2]
208
143
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i > 0 and x2_i is +0) -> roughly +pi/2]
209
144
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i > 0 and x2_i is -0) -> roughly +pi/2]
210
- array_api_tests/test_special_cases.py::test_binary[divide(x1_i < 0 and x2_i is +0) -> -infinity]
211
- array_api_tests/test_special_cases.py::test_binary[divide(x1_i < 0 and x2_i is -0) -> +infinity]
212
- array_api_tests/test_special_cases.py::test_binary[divide(x1_i > 0 and x2_i is +0) -> +infinity]
213
- array_api_tests/test_special_cases.py::test_binary[divide(x1_i > 0 and x2_i is -0) -> -infinity]
214
- array_api_tests/test_special_cases.py::test_binary[divide(x1_i is +0 and x2_i < 0) -> -0]
215
- array_api_tests/test_special_cases.py::test_binary[divide(x1_i is +0 and x2_i > 0) -> +0]
216
- array_api_tests/test_special_cases.py::test_binary[divide(x1_i is -0 and x2_i < 0) -> +0]
217
- array_api_tests/test_special_cases.py::test_binary[divide(x1_i is -0 and x2_i > 0) -> -0]
218
145
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i < 0 and x2_i is +0) -> -infinity]
219
146
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i < 0 and x2_i is -0) -> +infinity]
220
147
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i > 0 and x2_i is +0) -> +infinity]
@@ -223,24 +150,6 @@ array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +0 and x
223
150
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +0 and x2_i > 0) -> +0]
224
151
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -0 and x2_i < 0) -> +0]
225
152
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -0 and x2_i > 0) -> -0]
226
- array_api_tests/test_special_cases.py::test_binary[pow(abs(x1_i) < 1 and x2_i is +infinity) -> +0]
227
- array_api_tests/test_special_cases.py::test_binary[pow(abs(x1_i) < 1 and x2_i is -infinity) -> +infinity]
228
- array_api_tests/test_special_cases.py::test_binary[pow(abs(x1_i) > 1 and x2_i is +infinity) -> +infinity]
229
- array_api_tests/test_special_cases.py::test_binary[pow(abs(x1_i) > 1 and x2_i is -infinity) -> +0]
230
- 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]
231
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is +0 and x2_i < 0) -> +infinity]
232
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is +0 and x2_i > 0) -> +0]
233
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is +infinity and x2_i < 0) -> +0]
234
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is +infinity and x2_i > 0) -> +infinity]
235
- 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)) -> +infinity]
236
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is -0 and x2_i < 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -infinity]
237
- 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]
238
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is -0 and x2_i > 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -0]
239
- 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)) -> +0]
240
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is -infinity and x2_i < 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -0]
241
- 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]
242
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is -infinity and x2_i > 0 and x2_i.is_integer() and x2_i % 2 == 1) -> -infinity]
243
- array_api_tests/test_special_cases.py::test_binary[pow(x1_i is NaN and not x2_i == 0) -> NaN]
244
153
array_api_tests/test_special_cases.py::test_binary[remainder(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> x2_i]
245
154
array_api_tests/test_special_cases.py::test_binary[remainder(isfinite(x1_i) and x1_i < 0 and x2_i is -infinity) -> x1_i]
246
155
array_api_tests/test_special_cases.py::test_binary[remainder(isfinite(x1_i) and x1_i > 0 and x2_i is +infinity) -> x1_i]
@@ -252,7 +161,6 @@ array_api_tests/test_special_cases.py::test_binary[remainder(x1_i is -0 and x2_i
252
161
array_api_tests/test_special_cases.py::test_iop[__iadd__(x1_i is -0 and x2_i is -0) -> -0]
253
162
254
163
# 2023.12 support
255
- array_api_tests/test_searching_functions.py::test_searchsorted
256
164
array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
257
165
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
258
166
# uint64 repeats not supported
0 commit comments