()
| 649 | |
| 650 | |
| 651 | def test_short_stack(): |
| 652 | x = np.array([1]) |
| 653 | d = da.from_array(x, chunks=(1,)) |
| 654 | s = da.stack([d]) |
| 655 | assert s.shape == (1, 1) |
| 656 | chunks = compute_as_if_collection(Array, s.dask, s.__dask_keys__()) |
| 657 | assert chunks[0][0].shape == (1, 1) |
| 658 | |
| 659 | |
| 660 | def test_stack_scalars(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…