|
| 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 | +# TODO: this also skips test_setitem_masking unnecessarily |
| 13 | +array_api_tests/test_array_object.py::test_setitem |
| 14 | + |
| 15 | +# Various indexing errors |
| 16 | +array_api_tests/test_array_object.py::test_getitem_masking |
| 17 | + |
| 18 | + |
| 19 | +# asarray(copy=False) is not yet implemented |
| 20 | +# copied from numpy xfails, TODO: should this pass with dask? |
| 21 | +array_api_tests/test_creation_functions.py::test_asarray_arrays |
| 22 | + |
| 23 | +# zero division error, and typeerror: tuple indices must be integers or slices not tuple |
| 24 | +array_api_tests/test_creation_functions.py::test_eye |
| 25 | + |
1 | 26 | # finfo(float32).eps returns float32 but should return float
|
2 | 27 | array_api_tests/test_data_type_functions.py::test_finfo[float32]
|
3 | 28 |
|
4 | 29 | # No sorting in dask
|
5 | 30 | array_api_tests/test_has_names.py::test_has_names[sorting-argsort]
|
6 | 31 | array_api_tests/test_has_names.py::test_has_names[sorting-sort]
|
| 32 | +array_api_tests/test_sorting_functions.py::test_argsort |
| 33 | +array_api_tests/test_sorting_functions.py::test_sort |
| 34 | +array_api_tests/test_signatures.py::test_func_signature[argsort] |
| 35 | +array_api_tests/test_signatures.py::test_func_signature[sort] |
7 | 36 |
|
8 | 37 | # Array methods and attributes not already on np.ndarray cannot be wrapped
|
9 | 38 | array_api_tests/test_has_names.py::test_has_names[array_method-__array_namespace__]
|
10 | 39 | array_api_tests/test_has_names.py::test_has_names[array_method-to_device]
|
11 | 40 | array_api_tests/test_has_names.py::test_has_names[array_attribute-device]
|
12 | 41 | array_api_tests/test_has_names.py::test_has_names[array_attribute-mT]
|
13 | 42 |
|
14 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_add[__add__(x1, x2)] - AssertionError: out[0]=0, but should be (x1 + x2[0])=65536 [__add__()] |
15 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_and[__and__(x1, x2)] - hypothesis.errors.Flaky: Hypothesis test_bitwise_and(ctx=BinaryParamContext(<__and__(x1, x2)>), data=data(...)) produces unreliable results: Falsified on the ... |
16 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_right_shift[__rshift__(x1, x2)] - hypothesis.errors.Flaky: Hypothesis test_bitwise_right_shift(ctx=BinaryParamContext(<__rshift__(x1, x2)>), data=data(...)) produces unreliable results: Falsif... |
17 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_xor[bitwise_xor(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 994.44ms, which exceeds the deadline of 800.00ms |
18 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_xor[__xor__(x1, x2)] - ValueError: Inferred dtype from function 'xor' was 'uint64' but got 'int16', which can't be cast using casting='same_kind' |
19 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_ceil - exceptiongroup.ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions) |
20 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_divide[divide(x1, x2)] - hypothesis.errors.Flaky: Hypothesis test_divide(ctx=BinaryParamContext(<divide(x1, x2)>), data=data(...)) produces unreliable results: Falsified on the first ... |
21 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_floor - exceptiongroup.ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions) |
22 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[floor_divide(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 1015.43ms, which exceeds the deadline of 800.00ms |
23 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 900.99ms, which exceeds the deadline of 800.00ms |
24 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_greater[greater(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 1106.49ms, which exceeds the deadline of 800.00ms |
25 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_greater[__gt__(x1, x2)] - hypothesis.errors.Flaky: Hypothesis test_greater(ctx=BinaryParamContext(<__gt__(x1, x2)>), data=data(...)) produces unreliable results: Falsified on the first... |
26 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_greater_equal[greater_equal(x1, x2)] - hypothesis.errors.Flaky: Hypothesis test_greater_equal(ctx=BinaryParamContext(<greater_equal(x1, x2)>), data=data(...)) produces unreliable results: Falsified... |
27 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_greater_equal[__ge__(x1, x2)] - hypothesis.errors.Flaky: Hypothesis test_greater_equal(ctx=BinaryParamContext(<__ge__(x1, x2)>), data=data(...)) produces unreliable results: Falsified on the... |
28 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_less[less(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 961.84ms, which exceeds the deadline of 800.00ms |
29 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_less[__lt__(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 980.68ms, which exceeds the deadline of 800.00ms |
30 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_less_equal[less_equal(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 1043.47ms, which exceeds the deadline of 800.00ms |
31 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_less_equal[__le__(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 1011.76ms, which exceeds the deadline of 800.00ms |
32 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[multiply(x1, x2)] - AssertionError: out[0]=0, but should be (x1 * x2[0])=256 [multiply()] |
33 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x1, x2)] - AssertionError: out[0]=2, but should be (x1 * x2[0])=258 [__mul__()] |
34 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[subtract(x1, x2)] - exceptiongroup.ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions) |
35 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__sub__(x1, x2)] - hypothesis.errors.DeadlineExceeded: Test took 1034.64ms, which exceeds the deadline of 800.00ms |
36 |
| -#FAILED array_api_tests/test_operators_and_elementwise_functions.py::test_trunc - exceptiongroup.ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions) |
37 |
| - |
38 |
| -#FAILED array_api_tests/test_searching_functions.py::test_nonzero_zerodim_error - Failed: DID NOT RAISE <class 'Exception'> |
| 43 | +# dask doesn't return int when input is already int for ceil/floor/trunc |
| 44 | +# Use $ to denote end of regex so we don't xfail other tests accidentally |
| 45 | +array_api_tests/test_operators_and_elementwise_functions.py::test_ceil |
| 46 | +# TODO: this xfails more than it should ... (e.g. test_floor_divide works) |
| 47 | +array_api_tests/test_operators_and_elementwise_functions.py::test_floor |
| 48 | +array_api_tests/test_operators_and_elementwise_functions.py::test_trunc |
| 49 | + |
| 50 | +# Dask doesn't raise an error for this test |
| 51 | +array_api_tests/test_searching_functions.py::test_nonzero_zerodim_error |
39 | 52 |
|
40 | 53 | # Fails because shape is NaN since we don't materialize it yet
|
41 |
| -#FAILED array_api_tests/test_searching_functions.py::test_nonzero - AssertionError: prod(out[0].shape)=nan, but should be prod(out[0].shape)=nan |
42 |
| -#FAILED array_api_tests/test_set_functions.py::test_unique_all - AssertionError: out.indices.shape=(nan,), but should be out.values.shape=(nan,) |
43 |
| -#FAILED array_api_tests/test_set_functions.py::test_unique_counts - AssertionError: out.counts.shape=(nan,), but should be out.values.shape=(nan,) |
| 54 | +array_api_tests/test_searching_functions.py::test_nonzero |
| 55 | +array_api_tests/test_set_functions.py::test_unique_all |
| 56 | +array_api_tests/test_set_functions.py::test_unique_counts |
| 57 | + |
| 58 | +# Different error but same cause as above, we're just trying to do ndindex on nan shape |
| 59 | +array_api_tests/test_set_functions.py::test_unique_inverse |
| 60 | +array_api_tests/test_set_functions.py::test_unique_values |
| 61 | + |
| 62 | +# Linalg failures (signature failures/missing methods) |
| 63 | +array_api_tests/test_has_names.py::test_has_names[linalg-cross] |
| 64 | +array_api_tests/test_has_names.py::test_has_names[linalg-det] |
| 65 | +array_api_tests/test_has_names.py::test_has_names[linalg-diagonal] |
| 66 | +array_api_tests/test_has_names.py::test_has_names[linalg-eigh] |
| 67 | +array_api_tests/test_has_names.py::test_has_names[linalg-eigvalsh] |
| 68 | +array_api_tests/test_has_names.py::test_has_names[linalg-matmul] |
| 69 | +array_api_tests/test_has_names.py::test_has_names[linalg-matrix_norm] |
| 70 | +array_api_tests/test_has_names.py::test_has_names[linalg-matrix_power] |
| 71 | +array_api_tests/test_has_names.py::test_has_names[linalg-matrix_rank] |
| 72 | +array_api_tests/test_has_names.py::test_has_names[linalg-matrix_transpose] |
| 73 | +array_api_tests/test_has_names.py::test_has_names[linalg-outer] |
| 74 | +array_api_tests/test_has_names.py::test_has_names[linalg-pinv] |
| 75 | +array_api_tests/test_has_names.py::test_has_names[linalg-slogdet] |
| 76 | +array_api_tests/test_has_names.py::test_has_names[linalg-svdvals] |
| 77 | +array_api_tests/test_has_names.py::test_has_names[linalg-tensordot] |
| 78 | +array_api_tests/test_has_names.py::test_has_names[linalg-trace] |
| 79 | +array_api_tests/test_has_names.py::test_has_names[linalg-vecdot] |
| 80 | +array_api_tests/test_has_names.py::test_has_names[linalg-vector_norm] |
| 81 | +array_api_tests/test_has_names.py::test_has_names[creation-from_dlpack] |
| 82 | +array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack__] |
| 83 | +array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack_device__] |
| 84 | +array_api_tests/test_linalg.py::test_cross |
| 85 | +array_api_tests/test_linalg.py::test_det |
| 86 | +array_api_tests/test_linalg.py::test_diagonal |
| 87 | +array_api_tests/test_linalg.py::test_eigvalsh |
| 88 | +array_api_tests/test_linalg.py::test_matrix_norm |
| 89 | +array_api_tests/test_linalg.py::test_matrix_rank |
| 90 | +array_api_tests/test_linalg.py::test_outer |
| 91 | +array_api_tests/test_linalg.py::test_pinv |
| 92 | +array_api_tests/test_linalg.py::test_slogdet |
| 93 | +array_api_tests/test_linalg.py::test_svdvals |
| 94 | +array_api_tests/test_linalg.py::test_tensordot |
| 95 | +array_api_tests/test_linalg.py::test_trace |
| 96 | +array_api_tests/test_linalg.py::test_cholesky |
| 97 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.cholesky] |
| 98 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.cross] |
| 99 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.det] |
| 100 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.diagonal] |
| 101 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.eigh] |
| 102 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.eigvalsh] |
| 103 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.matmul] |
| 104 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.matrix_norm] |
| 105 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.matrix_power] |
| 106 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.matrix_rank] |
| 107 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.matrix_transpose] |
| 108 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.outer] |
| 109 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.pinv] |
| 110 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.qr] |
| 111 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.slogdet] |
| 112 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.svd] |
| 113 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.svdvals] |
| 114 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.tensordot] |
| 115 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.trace] |
| 116 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.vecdot] |
| 117 | +array_api_tests/test_signatures.py::test_extension_func_signature[linalg.vector_norm] |
| 118 | +# errors |
| 119 | +array_api_tests/test_linalg.py::test_matrix_power |
| 120 | +array_api_tests/test_linalg.py::test_qr |
| 121 | +array_api_tests/test_linalg.py::test_solve |
| 122 | +array_api_tests/test_linalg.py::test_svd |
| 123 | + |
| 124 | +# Missing dlpack stuff |
| 125 | +array_api_tests/test_signatures.py::test_func_signature[from_dlpack] |
| 126 | +array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__] |
| 127 | +array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__] |
| 128 | +array_api_tests/test_signatures.py::test_array_method_signature[__dlpack_device__] |
| 129 | +array_api_tests/test_signatures.py::test_array_method_signature[to_device] |
| 130 | + |
| 131 | +# Some cases unsupported by dask |
| 132 | +array_api_tests/test_manipulation_functions.py::test_roll |
| 133 | + |
| 134 | +# Dtype doesn't match (output is float32 but should be float64) |
| 135 | +array_api_tests/test_statistical_functions.py::test_prod |
| 136 | +array_api_tests/test_statistical_functions.py::test_sum |
44 | 137 |
|
45 |
| -# Needs investigation |
46 |
| -#FAILED array_api_tests/test_set_functions.py::test_unique_inverse - TypeError: 'float' object cannot be interpreted as an integer |
47 |
| -#FAILED array_api_tests/test_set_functions.py::test_unique_values - TypeError: 'float' object cannot be interpreted as an integer |
| 138 | +# No mT on dask array |
| 139 | +array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices |
0 commit comments