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

Class MyBox

test/test_edge_cases.py:867–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865
866 def test_box_class_propagates_to_nested_items(self):
867 class MyBox(Box):
868 pass
869
870 bl = BoxList([{"a": {"b": [{"c": 1}]}}], box_class=MyBox)
871 assert type(bl[0]) is MyBox

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected