MCPcopy
hub / github.com/dask/dask / test_expand_tuple

Function test_expand_tuple

dask/array/tests/test_reshape.py:64–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62
63
64def test_expand_tuple():
65 assert expand_tuple((2, 4), 2) == (1, 1, 2, 2)
66 assert expand_tuple((2, 4), 3) == (1, 1, 1, 1, 2)
67 assert expand_tuple((3, 4), 2) == (1, 2, 2, 2)
68 assert expand_tuple((7, 4), 3) == (2, 2, 3, 1, 1, 2)
69
70
71def test_contract_tuple():

Callers

nothing calls this directly

Calls 1

expand_tupleFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…