We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa1d5e commit da67d3eCopy full SHA for da67d3e
tests/test_primitives/test_reawaitable/test_reawaitable_concurrency.py
@@ -6,15 +6,16 @@
6
7
async def sample_coro():
8
await anyio.sleep(0.1)
9
- return "done"
+ return 'done'
10
+
11
12
@pytest.mark.anyio
13
async def test_concurrent_awaitable():
14
reawaitable = ReAwaitable(sample_coro())
15
16
async def await_reawaitable():
17
return await reawaitable
18
19
async with anyio.create_task_group() as tg:
20
task1 = tg.start_soon(await_reawaitable)
21
task2 = tg.start_soon(await_reawaitable)
-
0 commit comments