MCPcopy
hub / github.com/dask/dask / test_unknown_chunk_sizes

Function test_unknown_chunk_sizes

dask/array/tests/test_shuffle.py:69–74  ·  view source on GitHub ↗
(darr)

Source from the content-addressed store, hash-verified

67
68
69def test_unknown_chunk_sizes(darr):
70 darr._chunks = ((np.nan, 1), (4, 4))
71 with pytest.raises(
72 ValueError, match="Shuffling only allowed with known chunk sizes"
73 ):
74 darr.shuffle([[1]], axis=1)
75
76
77def test_oob_axis(darr):

Callers

nothing calls this directly

Calls 1

shuffleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…