File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change
1
+ """
2
+ A little CI shim for the dask backend that
3
+ disables the dask scheduler
4
+ """
5
+ import dask
6
+ dask .config .set (scheduler = 'synchronous' )
7
+
8
+ from dask .distributed import Client
9
+ _client = Client ()
10
+ print (_client .dashboard_link )
11
+
12
+ from .dask import *
13
+ from .dask import __array_api_version__
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ array_api_tests/test_array_object.py::test_setitem
15
15
# Various indexing errors
16
16
array_api_tests/test_array_object.py::test_getitem_masking
17
17
18
-
19
18
# asarray(copy=False) is not yet implemented
20
19
# copied from numpy xfails, TODO: should this pass with dask?
21
20
array_api_tests/test_creation_functions.py::test_asarray_arrays
@@ -26,6 +25,16 @@ array_api_tests/test_creation_functions.py::test_eye
26
25
# finfo(float32).eps returns float32 but should return float
27
26
array_api_tests/test_data_type_functions.py::test_finfo[float32]
28
27
28
+ # shape mismatch
29
+ array_api_tests/test_creation_functions.py::test_linspace
30
+
31
+ # out=-0, but should be +0
32
+ 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]
33
+
34
+ # output is nan but should be infinity
35
+ 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]
36
+ 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]
37
+
29
38
# No sorting in dask
30
39
array_api_tests/test_has_names.py::test_has_names[sorting-argsort]
31
40
array_api_tests/test_has_names.py::test_has_names[sorting-sort]
You can’t perform that action at this time.
0 commit comments