Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapy/scrapy
/ test_collect_asyncgen
Method
test_collect_asyncgen
tests/test_utils_asyncgen.py:13–16 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
11
12
@coroutine_test
13
async
def
test_collect_asyncgen(self):
14
ag = as_async_generator(range(42))
15
results = await collect_asyncgen(ag)
16
assert results == list(range(42))
Callers
nothing calls this directly
Calls
2
as_async_generator
Function · 0.90
collect_asyncgen
Function · 0.90
Tested by
no test coverage detected