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

Method test_count_with_step_threading

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

Source from the content-addressed store, hash-verified

622 self.assertEqual(next(c), count_to * num_threads * step)
623
624 def test_count_with_step_threading(self):
625 self.test_count_threading(step=5)
626
627 def test_cycle(self):
628 self.assertEqual(take(10, cycle('abc')), list('abcabcabca'))

Callers

nothing calls this directly

Calls 1

test_count_threadingMethod · 0.95

Tested by

no test coverage detected