Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ test_iter_big_range
Method
test_iter_big_range
Lib/test/test_iter.py:421–422 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
419
420
# Test a big range
421
def
test_iter_big_range(self):
422
self.check_for_loop(iter(range(10000)), list(range(10000)))
423
424
# Test an empty list
425
def
test_iter_empty(self):
Callers
nothing calls this directly
Calls
2
check_for_loop
Method · 0.95
list
Class · 0.85
Tested by
no test coverage detected