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:3265–3275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

normalize_chunksFunction · 0.90

Tested by

no test coverage detected