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

Method test_get_with_list

dask/utils_test.py:95–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93 assert self.get(d, "y") == 11
94
95 def test_get_with_list(self):
96 d = {"x": 1, "y": 2, "z": (sum, ["x", "y"])}
97
98 assert self.get(d, ["x", "y"]) == (1, 2)
99 assert self.get(d, "z") == 3
100
101 def test_get_with_list_top_level(self):
102 d = {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected