MCPcopy
hub / github.com/dask/dask / test_single_element_tuple

Function test_single_element_tuple

dask/array/tests/test_array_core.py:3272–3282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3270
3271
3272def test_single_element_tuple():
3273 assert normalize_chunks(
3274 (100, "auto"), (500, 500_000), dtype=np.int64, previous_chunks=((1,), (500,))
3275 ) == (
3276 (100,) * 5,
3277 (
3278 167_500,
3279 167_500,
3280 165_000,
3281 ),
3282 )
3283
3284
3285def test_align_chunks_to_previous_chunks():

Callers

nothing calls this directly

Calls 1

normalize_chunksFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…