Searched refs:StopIteration (Results 1 – 25 of 413) sorted by relevance
12345678910>>...17
/external/python/cpython3/Lib/test/ |
D | test_generator_stop.py | 9 raise StopIteration 18 raise StopIteration 25 self.assertIs(type(exc.__cause__), StopIteration) 26 self.assertIs(type(exc.__context__), StopIteration)
|
D | test_yield_from.py | 169 except StopIteration: 215 except StopIteration: 349 e = StopIteration() 351 e = StopIteration("spam") 386 for v in 1, (2,), StopIteration(3): 682 except StopIteration as e: 692 f(StopIteration(3)) 724 except StopIteration as e: 735 f(StopIteration(3)) 776 for value in 2, (2,), StopIteration(2): [all …]
|
D | test_asyncgen.py | 30 except StopIteration as ex: 104 except StopIteration: 119 except StopIteration as ex: 167 except StopIteration as ex: 205 except StopIteration as ex: 225 raise StopIteration 447 except StopIteration as ex: 469 except StopIteration as ex: 476 except StopIteration as ex: 483 except StopIteration as ex: [all …]
|
D | test_enumerate.py | 23 if self.i >= len(self.seqn): raise StopIteration 43 if self.i >= len(self.seqn): raise StopIteration 78 except StopIteration: 103 self.assertRaises(StopIteration, next, e) 108 self.assertRaises(StopIteration, next, e) 113 self.assertRaises(StopIteration, next, e) 160 raise StopIteration
|
D | test_generators.py | 43 self.assertIs(type(exc), StopIteration) 106 with self.assertRaises(StopIteration) as cm: 277 raise StopIteration 288 raise StopIteration 303 with self.assertRaises(StopIteration) as cm: 313 with self.assertRaises(StopIteration) as cm: 314 gen.send(StopIteration(2)) 315 self.assertIsInstance(cm.exception.value, StopIteration) 451 except StopIteration: 1493 _StopIteration = StopIteration # make local because caught a *lot*
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | strip_js_comments.py | 55 except StopIteration: 64 except StopIteration: 77 except StopIteration:
|
/external/python/cpython2/Lib/test/ |
D | test_bsddb.py | 75 except StopIteration: 88 except StopIteration: 101 except StopIteration: 111 except StopIteration: 122 except StopIteration: 132 except StopIteration: 142 except StopIteration: 155 except StopIteration: 234 except StopIteration: 247 except StopIteration:
|
D | test_enumerate.py | 21 if self.i >= len(self.seqn): raise StopIteration 41 if self.i >= len(self.seqn): raise StopIteration 79 self.assertRaises(StopIteration, e.next) 84 self.assertRaises(StopIteration, e.next) 89 self.assertRaises(StopIteration, e.next) 136 raise StopIteration
|
D | test_itertools.py | 42 raise StopIteration 654 r1 = Repeater(1, 3, StopIteration) 655 r2 = Repeater(2, 4, StopIteration) 668 r2 = Repeater(2, 4, StopIteration) 875 self.assertRaises(StopIteration, t.next) 988 self.assertRaises(StopIteration, izip().next) 991 self.assertRaises(StopIteration, f([]).next) 992 self.assertRaises(StopIteration, f(StopNow()).next) 994 self.assertRaises(StopIteration, islice([], None).next) 995 self.assertRaises(StopIteration, islice(StopNow(), None).next) [all …]
|
/external/python/cpython2/Lib/ |
D | contextlib.py | 18 except StopIteration: 25 except StopIteration: 37 except StopIteration, exc:
|
/external/python/cpython3/Lib/xml/etree/ |
D | ElementPath.py | 185 except StopIteration: 235 except StopIteration: 363 except StopIteration: 369 except StopIteration: 375 except StopIteration: 404 except StopIteration:
|
/external/python/cpython2/Lib/xml/etree/ |
D | ElementPath.py | 264 except StopIteration: 270 except StopIteration: 286 except StopIteration: 302 except StopIteration:
|
/external/python/pybind11/tests/ |
D | test_sequences_and_iterators.py | 30 with pytest.raises(StopIteration): 35 with pytest.raises(StopIteration): 74 with pytest.raises(StopIteration): 145 with pytest.raises(StopIteration):
|
/external/tensorflow/tensorflow/python/summary/writer/ |
D | writer_test.py | 103 self.assertRaises(StopIteration, lambda: next(rr)) 177 self.assertRaises(StopIteration, lambda: next(rr)) 262 self.assertRaises(StopIteration, lambda: next(rr)) 276 self.assertRaises(StopIteration, lambda: next(rr)) 360 self.assertRaises(StopIteration, lambda: next(rr)) 420 self.assertRaises(StopIteration, lambda: next(rr)) 599 self.assertRaises(StopIteration, lambda: next(events)) 605 self.assertRaises(StopIteration, lambda: next(events)) 608 self.assertRaises(StopIteration, lambda: next(event_paths)) 670 self.assertRaises(StopIteration, lambda: next(events)) [all …]
|
/external/tensorflow/tensorflow/python/summary/ |
D | summary_iterator_test.py | 50 self.assertRaises(StopIteration, lambda: next(rr)) 58 self.assertRaises(StopIteration, lambda: next(rr))
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/ |
D | _service.py | 27 raise StopIteration() 63 except StopIteration:
|
/external/python/cpython2/Lib/json/ |
D | scanner.py | 32 raise StopIteration 63 raise StopIteration
|
/external/python/cpython3/Lib/json/ |
D | scanner.py | 32 raise StopIteration(idx) from None 63 raise StopIteration(idx)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/ |
D | _client_application.py | 80 raise StopIteration() 113 except StopIteration: 139 except StopIteration:
|
/external/python/cpython3/Lib/ |
D | contextlib.py | 118 except StopIteration: 125 except StopIteration: 136 except StopIteration as exc: 148 if type is StopIteration and exc.__cause__ is value: 206 if isinstance(value, (StopIteration, StopAsyncIteration)):
|
D | _collections_abc.py | 127 raise StopIteration 147 except (GeneratorExit, StopIteration): 274 raise StopIteration 333 raise StopIteration 353 except (GeneratorExit, StopIteration): 608 except StopIteration: 834 except StopIteration:
|
D | heapq.py | 351 except StopIteration: 361 except StopIteration: 375 except StopIteration: 387 except StopIteration:
|
/external/llvm-project/llvm/utils/gdb-scripts/ |
D | prettyprinters.py | 53 raise StopIteration 78 raise StopIteration 110 raise StopIteration 130 raise StopIteration 133 raise StopIteration 175 raise StopIteration
|
/external/python/cpython3/Doc/includes/ |
D | mp_pool.py | 111 except StopIteration: 143 except StopIteration:
|
/external/eigen/debug/gdb/ |
D | printers.py | 101 raise StopIteration 109 raise StopIteration 165 raise StopIteration
|
12345678910>>...17