Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __iter__
Method
__iter__
testing/python/approx.py:865–866 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
863
def
test_generic_sized_iterable_object(self):
864
class
MySizedIterable:
865
def
__iter__(self):
866
return
iter([1, 2, 3, 4])
867
868
def
__len__(self):
869
return
4
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected