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

Method setUp

Lib/test/test_iterlen.py:124–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122class TestDictItems(TestTemporarilyImmutable, unittest.TestCase):
123
124 def setUp(self):
125 d = dict.fromkeys(range(n))
126 self.it = iter(d.items())
127 self.mutate = d.popitem
128
129class TestDictValues(TestTemporarilyImmutable, unittest.TestCase):
130

Callers

nothing calls this directly

Calls 2

fromkeysMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected