Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __len__
Method
__len__
testing/test_assertion.py:678–679 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
676
return
self.elements[item]
677
678
def
__len__(self):
679
return
len(self.elements)
680
681
def
__setitem__(self, item, value):
682
pass
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected