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

Function test_map_grouping_dict

tests/unit/library/test_grouping.py:150–154  ·  view source on GitHub ↗
(dict_grouping_size)

Source from the content-addressed store, hash-verified

148
149
150def test_map_grouping_dict(dict_grouping_size):
151 grouping, size = dict_grouping_size
152 result = map_grouping(lambda x: x * 2 + 5, grouping)
153 expected = {k: v * 2 + 5 for k, v in grouping.items()}
154 assert expected == result
155
156
157def test_map_grouping_mixed(mixed_grouping_size):

Callers

nothing calls this directly

Calls 1

map_groupingFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…