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

Class BadIterable

Lib/test/test_operator.py:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 return other * self.lst
44
45class BadIterable:
46 def __iter__(self):
47 raise ZeroDivisionError
48
49
50class OperatorTestCase:

Callers 3

test_countOfMethod · 0.70
test_indexOfMethod · 0.70
test_containsMethod · 0.70

Calls

no outgoing calls

Tested by 3

test_countOfMethod · 0.56
test_indexOfMethod · 0.56
test_containsMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…