MCPcopy Index your code
hub / github.com/plotly/dash / test_flatten_mixed

Function test_flatten_mixed

tests/unit/library/test_grouping.py:59–64  ·  view source on GitHub ↗
(mixed_grouping_size)

Source from the content-addressed store, hash-verified

57
58
59def test_flatten_mixed(mixed_grouping_size):
60 grouping, size = mixed_grouping_size
61 expected = list(range(size))
62 result = flatten_grouping(grouping)
63 assert expected == result
64 assert len(result) == grouping_len(grouping)
65
66
67def test_flatten_odd_value():

Callers

nothing calls this directly

Calls 2

flatten_groupingFunction · 0.90
grouping_lenFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…