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

Method test_repeat

Lib/test/test_itertools.py:1622–1623  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1620 (1,0,0), (1,0,1), (1,1,0), (1,1,1)])
1621
1622 def test_repeat(self):
1623 self.assertEqual(list(repeat(10, 3)), [10, 10, 10])
1624
1625 def test_stapmap(self):
1626 self.assertEqual(list(starmap(pow, [(2,5), (3,2), (10,3)])),

Callers

nothing calls this directly

Calls 3

listClass · 0.85
repeatFunction · 0.50
assertEqualMethod · 0.45

Tested by

no test coverage detected