MCPcopy Index your code
hub / github.com/python/cpython / test_iter_basic

Method test_iter_basic

Lib/test/test_iter.py:152–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150
151 # Test basic use of iter() function
152 def test_iter_basic(self):
153 self.check_iterator(iter(range(10)), list(range(10)))
154
155 # Test that iter(iter(x)) is the same as iter(x)
156 def test_iter_idempotency(self):

Callers

nothing calls this directly

Calls 2

check_iteratorMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected