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

Method test_iter_callable

Lib/test/test_iter.py:332–333  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

330
331 # Test two-argument iter() with callable instance
332 def test_iter_callable(self):
333 self.check_iterator(iter(CallableIterClass(), 10), list(range(10)), pickle=True)
334
335 # Test two-argument iter() with function
336 def test_iter_function(self):

Callers

nothing calls this directly

Calls 3

check_iteratorMethod · 0.95
CallableIterClassClass · 0.85
listClass · 0.85

Tested by

no test coverage detected