MCPcopy Index your code
hub / github.com/RustPython/RustPython / E

Class E

Lib/test/test_itertools.py:2122–2130  ·  view source on GitHub ↗

Test propagation of exceptions

Source from the content-addressed store, hash-verified

2120 return self
2121
2122class E:
2123 'Test propagation of exceptions'
2124 def __init__(self, seqn):
2125 self.seqn = seqn
2126 self.i = 0
2127 def __iter__(self):
2128 return self
2129 def __next__(self):
2130 3 // 0
2131
2132class E2:
2133 'Test propagation of exceptions after two iterations'

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