summaryrefslogtreecommitdiff
path: root/t/eager_and_scheduled.py
diff options
context:
space:
mode:
Diffstat (limited to 't/eager_and_scheduled.py')
-rw-r--r--t/eager_and_scheduled.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/eager_and_scheduled.py b/t/eager_and_scheduled.py
index 178a9f4..030b539 100644
--- a/t/eager_and_scheduled.py
+++ b/t/eager_and_scheduled.py
@@ -8,7 +8,8 @@ async def foo():
async def bar():
- await asyncio.create_subprocess_shell('sleep 1.0')
+ proc = await asyncio.create_subprocess_shell('sleep 1.0')
+ await proc.communicate()
async def baz():