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

Method setUp

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

Source from the content-addressed store, hash-verified

115class TestDictKeys(TestTemporarilyImmutable, unittest.TestCase):
116
117 def setUp(self):
118 d = dict.fromkeys(range(n))
119 self.it = iter(d)
120 self.mutate = d.popitem
121
122class TestDictItems(TestTemporarilyImmutable, unittest.TestCase):
123

Callers

nothing calls this directly

Calls 1

fromkeysMethod · 0.45

Tested by

no test coverage detected