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

Method test_unhashable_key

test/test_coverage_paths.py:67–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 assert b.to_dict() == {"a": 5}
66
67 def test_unhashable_key(self):
68 with pytest.raises(BoxTypeError):
69 Box()[["unhashable"]]
70
71 def test_ephemeral_child_of_frozen_box(self):
72 b = Box(default_box=True, frozen_box=True)

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected