aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_streams.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-09 00:09:10 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-09 00:09:10 +0100
commit15cc678d8971f5ee1a7ea5e88bcd22413601f033 (patch)
treeea7e29de0dc1817be74197a19db93957fe3459bf /Lib/test/test_asyncio/test_streams.py
parent8d9c145f61d43fb9d43ad43c04744ffd32c93d8c (diff)
downloadcpython-15cc678d8971f5ee1a7ea5e88bcd22413601f033.tar.gz
cpython-15cc678d8971f5ee1a7ea5e88bcd22413601f033.zip
asyncio: Truncate to 80 columns
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
-rw-r--r--Lib/test/test_asyncio/test_streams.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py
index 73a375aba42..05963cf1478 100644
--- a/Lib/test/test_asyncio/test_streams.py
+++ b/Lib/test/test_asyncio/test_streams.py
@@ -613,8 +613,10 @@ os.close(fd)
watcher.attach_loop(self.loop)
try:
asyncio.set_child_watcher(watcher)
- proc = self.loop.run_until_complete(
- asyncio.create_subprocess_exec(*args, pass_fds={wfd}, loop=self.loop))
+ create = asyncio.create_subprocess_exec(*args,
+ pass_fds={wfd},
+ loop=self.loop)
+ proc = self.loop.run_until_complete(create)
self.loop.run_until_complete(proc.wait())
finally:
asyncio.set_child_watcher(None)