Fix `Context.result()` call to be in runtime scope
parent
0222180c11
commit
abe31e9e2c
|
@ -225,7 +225,7 @@ def test_context_spawns_aio_task_that_errors(
|
|||
|
||||
await trio.sleep_forever()
|
||||
|
||||
return await ctx.result()
|
||||
return await ctx.result()
|
||||
|
||||
if parent_cancels:
|
||||
# bc the parent made the cancel request,
|
||||
|
|
Loading…
Reference in New Issue