Fix `Context.result()` call to be in runtime scope
parent
f4e63465de
commit
b77d123edd
|
@ -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