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

Method test_circular_references

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

Source from the content-addressed store, hash-verified

577 assert a["list_of_dicts"][1] == [{"example2": 2}]
578
579 def test_circular_references(self):
580 circular_list = []
581 circular_list.append(circular_list)
582 circular_box = BoxList(circular_list)
583 assert circular_box[0] == circular_box
584
585
586@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

BoxListClass · 0.90
appendMethod · 0.80

Tested by

no test coverage detected