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

Class MyList

test/test_box_list.py:362–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360
361 def test_intact_types_list(self):
362 class MyList(list):
363 pass
364
365 bl = BoxList([[1, 2], MyList([3, 4])], box_intact_types=(MyList,))
366 assert isinstance(bl[0], BoxList)

Callers 1

Calls

no outgoing calls

Tested by 1