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

Method test_no_recursion_errors

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

Source from the content-addressed store, hash-verified

611 assert item.box_options["default_box"] is True
612
613 def test_no_recursion_errors(self):
614 a = Box({"list_of_dicts": [[{"example1": 1}]]})
615 a.list_of_dicts.append([{"example2": 2}])
616 assert a["list_of_dicts"][1] == [{"example2": 2}]
617
618 def test_circular_references(self):
619 circular_list = []

Callers

nothing calls this directly

Calls 2

BoxClass · 0.90
appendMethod · 0.80

Tested by

no test coverage detected