MCPcopy Create free account
hub / github.com/cdgriffith/Box / BadKeys

Class BadKeys

test/test_box.py:260–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 assert bx.b.c == 2
259
260 class BadKeys(KeysOnly):
261 def keys(self):
262 return ["a", "missing"]
263
264 with pytest.raises(KeyError):
265 Box(BadKeys())

Callers 1

Calls

no outgoing calls

Tested by 1