Home
last modified time | relevance | path

Searched refs:__aiter__ (Results 1 - 19 of 19) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_asyncgen.py198 ai = g.__aiter__()
237 ai = g.__aiter__()
481 def __aiter__(self): member in AsyncGenAsyncioTest.test_python_async_iterator_anext.MyAsyncIter
497 def __aiter__(self): member in AsyncGenAsyncioTest.test_python_async_iterator_types_coroutine_anext.MyAsyncIterWithTypesCoro
523 async def __aiter__(self): member in AsyncGenAsyncioTest.test_async_gen_aiter_class.Gen
570 def __aiter__(self): member in AsyncGenAsyncioTest.test_anext_bad_await.bad_awaitable.MyAsyncIter
596 def __aiter__(self): member in AsyncGenAsyncioTest.test_anext_return_iterator.WithIterAnext
605 def __aiter__(self): member in AsyncGenAsyncioTest.test_anext_return_generator.WithGenAnext
618 def __aiter__(self): member in AsyncGenAsyncioTest.test_anext_await_raises.WithRaisingAwaitableAnext
795 async def __aiter__(sel member in AsyncGenAsyncioTest.test_async_gen_asyncio_03.Gen
[all...]
H A Dtest_coroutines.py1511 def __aiter__(self): member in CoroutineTest.test_for_1.AsyncIter
1534 # Make sure that __aiter__ was called only once
1552 # Make sure that __aiter__ was called only once
1570 # Make sure that __aiter__ was called only once
1585 TypeError, "async for' requires an object.*__aiter__.*tuple"):
1593 def __aiter__(self): member in CoroutineTest.test_for_3.I
1613 def __aiter__(self): member in CoroutineTest.test_for_4.I
1650 def __aiter__(self): member in CoroutineTest.test_for_6.Iterable
1676 # Test that __aiter__ that returns an asynchronous iterator
1729 def __aiter__(sel member in CoroutineTest.test_for_7.AI
1743 def __aiter__(self): global() member in CoroutineTest.test_for_8.AI
1760 def __aiter__(self): global() member in CoroutineTest.test_for_11.F
1783 def __aiter__(self): global() member in CoroutineTest.test_for_tuple.AIter
1806 def __aiter__(self): global() member in CoroutineTest.test_for_stop_iteration.AIter
[all...]
H A Dtest_collections.py929 def __aiter__(self): member in TestOneTrickPonyABCs.test_AsyncIterable.AI
938 self.validate_abstract_methods(AsyncIterable, '__aiter__')
939 self.validate_isinstance(AsyncIterable, '__aiter__')
943 def __aiter__(self): member in TestOneTrickPonyABCs.test_AsyncIterator.AI
959 self.validate_abstract_methods(AsyncIterator, '__anext__', '__aiter__')
1238 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen1
1244 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen2
1262 def __aiter__(self): return self member in TestOneTrickPonyABCs.test_AsyncGenerator.Gen
1296 self.assertIs(mgen, mgen.__aiter__())
H A Dtest_grammar.py1965 def __aiter__(self): member in GrammarTests.test_async_for.AIter
H A Dtest_sys_settrace.py542 def __aiter__(self): member in TraceTestCase.test_20_async_for_loop.AsyncIteratorWrapper
H A Dtest_typing.py5085 def __aiter__(self) -> typing.AsyncIterator[T_a]: member in AsyncIteratorWrapper
/third_party/python/Lib/unittest/test/testmock/
H A Dtestasync.py547 # __aiter__ is actually a synchronous object
549 self.assertIsInstance(m_mock.__aiter__, MagicMock)
698 def __aiter__(self): pass member in AsyncIteratorTest.WithAsyncIterator
704 mock_iter.__aiter__.return_value = [1, 2, 3]
715 # __aiter__ is not actually async, so not a coroutinefunction
716 self.assertFalse(iscoroutinefunction(instance.__aiter__))
717 self.assertFalse(iscoroutinefunction(mock_instance.__aiter__))
743 mock_instance.__aiter__.return_value = expected[:]
748 mock_instance.__aiter__.return_value = iter(expected[:])
/third_party/node/tools/inspector_protocol/jinja2/
H A Dasyncsupport.py182 if hasattr(iterable, '__aiter__'):
206 def __aiter__(self): member in AsyncLoopContext
216 def __aiter__(self): member in AsyncLoopContextIterator
245 if not hasattr(iterable, '__aiter__'):
/third_party/jinja2/
H A Dasyncsupport.py179 if hasattr(iterable, "__aiter__"):
236 def __aiter__(self): member in AsyncLoopContext
H A Druntime.py639 def __aiter__(self) -> "AsyncLoopContext": member in AsyncLoopContext
890 async def __aiter__(self) -> t.AsyncIterator[t.Any]: member in Undefined
/third_party/node/deps/v8/third_party/jinja2/
H A Dasyncsupport.py179 if hasattr(iterable, "__aiter__"):
236 def __aiter__(self): member in AsyncLoopContext
/third_party/skia/third_party/externals/jinja2/
H A Dasyncsupport.py179 if hasattr(iterable, "__aiter__"):
236 def __aiter__(self): member in AsyncLoopContext
/third_party/python/Lib/
H A D_collections_abc.py171 def __aiter__(self): member in AsyncIterable
177 return _check_methods(C, "__aiter__")
192 def __aiter__(self): member in AsyncIterator
198 return _check_methods(C, "__anext__", "__aiter__")
245 return _check_methods(C, '__aiter__', '__anext__',
/third_party/python/Include/internal/
H A Dpycore_global_strings.h68 STRUCT_FOR_ID(__aiter__)
H A Dpycore_runtime_init.h691 INIT_ID(__aiter__), \
/third_party/python/Lib/asyncio/
H A Dstreams.py740 def __aiter__(self): member in StreamReader
/third_party/python/Lib/unittest/
H A Dmock.py2002 _sync_async_magics = {"__aiter__"}
2069 def __aiter__(): function
2070 ret_val = self.__aiter__._mock_return_value
2074 return __aiter__
2080 '__aiter__': _get_async_iter
/third_party/python/Lib/test/test_asyncio/
H A Dtest_base_events.py952 ai = ag.__aiter__()
/third_party/python/Objects/
H A Dtypeobject.c7947 func = lookup_maybe_method(self, &_Py_ID(__aiter__), &unbound); in slot_am_aiter()
7954 "object %.50s does not have __aiter__ method", in slot_am_aiter()
8095 AMSLOT("__aiter__", am_aiter, slot_am_aiter, wrap_unaryfunc,
8096 "__aiter__($self, /)\n--\n\nReturn an awaitable, that resolves in asynchronous iterator."),

Completed in 65 milliseconds