()
| 3908 | |
| 3909 | |
| 3910 | def test_from_delayed_future(): |
| 3911 | # https://github.com/dask/distributed/issues/9050 |
| 3912 | distributed = pytest.importorskip("distributed") |
| 3913 | arr = np.zeros((10, 10)) |
| 3914 | |
| 3915 | with distributed.Client(n_workers=1, processes=False) as client: |
| 3916 | fut = client.scatter(arr) |
| 3917 | result = da.from_delayed(fut, shape=arr.shape, meta=arr[:0, :0]) |
| 3918 | del fut |
| 3919 | assert_eq(result, arr, scheduler=client) |
| 3920 | |
| 3921 | |
| 3922 | def test_A_property(): |
nothing calls this directly
no test coverage detected