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

Method test_iter_dict

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

Source from the content-addressed store, hash-verified

439
440 # Test a directory
441 def test_iter_dict(self):
442 dict = {}
443 for i in range(10):
444 dict[i] = None
445 self.check_for_loop(dict, list(dict.keys()))
446
447 # Test a file
448 def test_iter_file(self):

Callers

nothing calls this directly

Calls 3

check_for_loopMethod · 0.95
listClass · 0.85
keysMethod · 0.45

Tested by

no test coverage detected