MCPcopy Create free account
hub / github.com/dask/dask / test_single_element_tuple

Function test_single_element_tuple

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

Source from the content-addressed store, hash-verified

3260
3261
3262def test_single_element_tuple():
3263 assert normalize_chunks(
3264 (100, "auto"), (500, 500_000), dtype=np.int64, previous_chunks=((1,), (500,))
3265 ) == (
3266 (100,) * 5,
3267 (
3268 167_500,
3269 167_500,
3270 165_000,
3271 ),
3272 )
3273
3274
3275def test_align_chunks_to_previous_chunks():

Callers

nothing calls this directly

Calls 1

normalize_chunksFunction · 0.90

Tested by

no test coverage detected