MCPcopy Index your code
hub / github.com/RustPython/RustPython / ColNoCont

Class ColNoCont

Lib/test/test_collections.py:1110–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1108 def __iter__(self): return iter([])
1109 def __contains__(self, item): return False
1110 class ColNoCont:
1111 def __iter__(self): return iter([])
1112 def __len__(self): return 0
1113 self.assertNotIsSubclass(ColNoIter, Collection)
1114 self.assertNotIsInstance(ColNoIter(), Collection)
1115 self.assertNotIsSubclass(ColNoSize, Collection)

Callers 1

test_CollectionMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_CollectionMethod · 0.68