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

Method test_iter_tuple

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

Source from the content-addressed store, hash-verified

427
428 # Test a tuple
429 def test_iter_tuple(self):
430 self.check_for_loop(iter((0,1,2,3,4,5,6,7,8,9)), list(range(10)))
431
432 # Test a range
433 def test_iter_range(self):

Callers

nothing calls this directly

Calls 2

check_for_loopMethod · 0.95
listClass · 0.85

Tested by

no test coverage detected