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

Method test_get

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

Source from the content-addressed store, hash-verified

59 """
60
61 def test_get(self):
62 d = {":x": 1, ":y": (inc, ":x"), ":z": (add, ":x", ":y")}
63
64 assert self.get(d, ":x") == 1
65 assert self.get(d, ":y") == 2
66 assert self.get(d, ":z") == 3
67
68 def test_badkey(self):
69 d = {":x": 1, ":y": (inc, ":x"), ":z": (add, ":x", ":y")}

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected