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

Method test_iter_string

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

Source from the content-addressed store, hash-verified

435
436 # Test a string
437 def test_iter_string(self):
438 self.check_for_loop(iter("abcde"), ["a", "b", "c", "d", "e"])
439
440 # Test a directory
441 def test_iter_dict(self):

Callers

nothing calls this directly

Calls 1

check_for_loopMethod · 0.95

Tested by

no test coverage detected