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

Class N

Lib/test/test_itertools.py:2162–2168  ·  view source on GitHub ↗

Iterator missing __next__()

Source from the content-addressed store, hash-verified

2160 return v
2161
2162class N:
2163 'Iterator missing __next__()'
2164 def __init__(self, seqn):
2165 self.seqn = seqn
2166 self.i = 0
2167 def __iter__(self):
2168 return self
2169
2170class E:
2171 'Test propagation of exceptions'

Callers 15

test_accumulateMethod · 0.70
test_batchedMethod · 0.70
test_chainMethod · 0.70
test_compressMethod · 0.70
test_productMethod · 0.70
test_cycleMethod · 0.70
test_groupbyMethod · 0.70
test_filterMethod · 0.70
test_filterfalseMethod · 0.70
test_zipMethod · 0.70
test_ziplongestMethod · 0.70
test_mapMethod · 0.70

Calls

no outgoing calls

Tested by 15

test_accumulateMethod · 0.56
test_batchedMethod · 0.56
test_chainMethod · 0.56
test_compressMethod · 0.56
test_productMethod · 0.56
test_cycleMethod · 0.56
test_groupbyMethod · 0.56
test_filterMethod · 0.56
test_filterfalseMethod · 0.56
test_zipMethod · 0.56
test_ziplongestMethod · 0.56
test_mapMethod · 0.56