1- # This fails in dask
2- # import dask.array as da
3- # a = da.array([1]).reshape((1,1))
4- # key = (0, slice(None, None, -1))
5- # a[key] = da.array([1])
6-
7- # Failing hypothesis test case
8- #x=dask.array<zeros_like, shape=(0, 2), dtype=bool, chunksize=(0, 2), chunktype=numpy.ndarray>
9- #| Draw 1 (key): (slice(None, None, None), slice(None, None, None))
10- #| Draw 2 (value): dask.array<zeros_like, shape=(0, 2), dtype=bool, chunksize=(0, 2), chunktype=numpy.ndarray>
11-
12- # Various shape mismatches e.g.
13- ValueError: shape mismatch: value array of shape (0, 2) could not be broadcast to indexing result of shape (0, 2)
14- array_api_tests/test_array_object.py::test_setitem
15-
16- # Fails since bad upcast from uint8 -> int64
17- # MRE:
18- # a = da.array(0, dtype="uint8")
19- # b = da.array(False)
20- # a[b] = 0
21- array_api_tests/test_array_object.py::test_setitem_masking
22-
231# Various indexing errors
242array_api_tests/test_array_object.py::test_getitem_masking
253
@@ -29,21 +7,6 @@ array_api_tests/test_creation_functions.py::test_eye
297# finfo(float32).eps returns float32 but should return float
308array_api_tests/test_data_type_functions.py::test_finfo[float32]
319
32- # out[-1]=dask.array<getitem ...> but should be some floating number
33- # (I think the test is not forcing the op to be computed?)
34- array_api_tests/test_creation_functions.py::test_linspace
35-
36- # out.shape=(2,) but should be (1,)
37- array_api_tests/test_indexing_functions.py::test_take
38-
39- # out=-0, but should be +0
40- 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]
41- 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]
42-
43- # output is nan but should be infinity
44- 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]
45- 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]
46-
4710# Array methods and attributes not already on da.Array cannot be wrapped
4811array_api_tests/test_has_names.py::test_has_names[array_method-__array_namespace__]
4912array_api_tests/test_has_names.py::test_has_names[array_method-to_device]
@@ -63,25 +26,11 @@ array_api_tests/test_set_functions.py::test_unique_values
6326
6427# fails for ndim > 2
6528array_api_tests/test_linalg.py::test_svdvals
66- array_api_tests/test_linalg.py::test_cholesky
67-
68- # dtype mismatch got uint64, but should be uint8, NPY_PROMOTION_STATE=weak doesn't help :(
69- array_api_tests/test_linalg.py::test_tensordot
70-
71- # AssertionError: out.dtype=uint64, but should be uint8 [tensordot(uint8, uint8)]
72- array_api_tests/test_linalg.py::test_linalg_tensordot
73-
74- # AssertionError: out.shape=(1,), but should be () [linalg.vector_norm(keepdims=True)]
75- array_api_tests/test_linalg.py::test_vector_norm
7629
7730# ZeroDivisionError in dask's normalize_chunks/auto_chunks internals
7831array_api_tests/test_linalg.py::test_inv
7932array_api_tests/test_linalg.py::test_matrix_power
8033
81- # did not raise error for invalid shapes
82- array_api_tests/test_linalg.py::test_matmul
83- array_api_tests/test_linalg.py::test_linalg_matmul
84-
8534# Linalg - these don't exist in dask
8635array_api_tests/test_signatures.py::test_extension_func_signature[linalg.cross]
8736array_api_tests/test_signatures.py::test_extension_func_signature[linalg.det]
@@ -90,11 +39,9 @@ array_api_tests/test_signatures.py::test_extension_func_signature[linalg.eigvals
9039array_api_tests/test_signatures.py::test_extension_func_signature[linalg.matrix_power]
9140array_api_tests/test_signatures.py::test_extension_func_signature[linalg.pinv]
9241array_api_tests/test_signatures.py::test_extension_func_signature[linalg.slogdet]
93- array_api_tests/test_linalg.py::test_cross
9442array_api_tests/test_linalg.py::test_det
9543array_api_tests/test_linalg.py::test_eigh
9644array_api_tests/test_linalg.py::test_eigvalsh
97- array_api_tests/test_linalg.py::test_matrix_norm
9845array_api_tests/test_linalg.py::test_matrix_rank
9946array_api_tests/test_linalg.py::test_pinv
10047array_api_tests/test_linalg.py::test_slogdet
@@ -106,14 +53,10 @@ array_api_tests/test_has_names.py::test_has_names[linalg-matrix_power]
10653array_api_tests/test_has_names.py::test_has_names[linalg-pinv]
10754array_api_tests/test_has_names.py::test_has_names[linalg-slogdet]
10855
109- # missing mode kw
110- # https://github.com/dask/dask/issues/10388
111- array_api_tests/test_linalg.py::test_qr
112-
11356# Constructing the input arrays fails to a weird shape error...
11457array_api_tests/test_linalg.py::test_solve
11558
116- # missing full_matrics kw
59+ # missing full_matrices kw
11760# https://github.com/dask/dask/issues/10389
11861# also only supports 2-d inputs
11962array_api_tests/test_linalg.py::test_svd
@@ -128,17 +71,12 @@ array_api_tests/test_has_names.py::test_has_names[creation-from_dlpack]
12871array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack__]
12972array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack_device__]
13073
131- # Some cases unsupported by dask
132- array_api_tests/test_manipulation_functions.py::test_roll
133-
13474# No mT on dask array
13575array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices
13676
137- # The test suite is incorrectly checking sums that have loss of significance
138- # (https://github.com/data-apis/array-api-tests/issues/168)
139- array_api_tests/test_statistical_functions.py::test_sum
140- array_api_tests/test_statistical_functions.py::test_prod
77+ # Edge case of args near 2**63
78+ # https://github.com/dask/dask/issues/11706
79+ array_api_tests/test_creation_functions.py::test_arange
14180
14281# 2023.12 support
14382array_api_tests/test_manipulation_functions.py::test_repeat
144- array_api_tests/test_searching_functions.py::test_searchsorted
0 commit comments