MCPcopy
hub / github.com/dask/dask / test_get_with_list

Method test_get_with_list

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

Source from the content-addressed store, hash-verified

78 assert self.get(d, "y") == 11
79
80 def test_get_with_list(self):
81 d = {"x": 1, "y": 2, "z": (sum, ["x", "y"])}
82
83 assert self.get(d, ["x", "y"]) == (1, 2)
84 assert self.get(d, "z") == 3
85
86 def test_get_with_list_top_level(self):
87 d = {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected