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

Method test_no_recursion_errors

test/test_box_list.py:267–270  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

265 assert item.box_options["default_box"] is True
266
267 def test_no_recursion_errors(self):
268 a = Box({"list_of_dicts": [[{"example1": 1}]]})
269 a.list_of_dicts.append([{"example2": 2}])
270 assert a["list_of_dicts"][1] == [{"example2": 2}]
271
272 def test_circular_references(self):
273 circular_list = []

Callers

nothing calls this directly

Calls 2

BoxClass · 0.90
appendMethod · 0.80

Tested by

no test coverage detected