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

Method setUp

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

Source from the content-addressed store, hash-verified

129class TestDictValues(TestTemporarilyImmutable, unittest.TestCase):
130
131 def setUp(self):
132 d = dict.fromkeys(range(n))
133 self.it = iter(d.values())
134 self.mutate = d.popitem
135
136class TestSet(TestTemporarilyImmutable, unittest.TestCase):
137

Callers

nothing calls this directly

Calls 2

fromkeysMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected