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

Method test_add_frozen_boxes

test/test_box.py:1271–1274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1269 Box() + BoxList()
1270
1271 def test_add_frozen_boxes(self):
1272 b = Box(c=1, d={"sub": 1}, e=1, frozen_box=True)
1273 c = dict(d={"val": 2}, e=4)
1274 assert b + c == Box(c=1, d={"sub": 1, "val": 2}, e=4)
1275
1276 def test_adding_frozen_boxes_result_in_frozen_box(self):
1277 a = Box({"one": 1}, frozen_box=True)

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected