summaryrefslogtreecommitdiff
path: root/tests/test_streams.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-09 00:02:52 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-09 00:02:52 +0100
commitbc2b6d110b2f6ca0645cb2503652dc19bfc4a9c1 (patch)
treeeaba0f6409b8719642f7f6419d6000502a44e67d /tests/test_streams.py
parent63a982e414b7b93b7e471340b07479c8c145ef71 (diff)
downloadtrollius-bc2b6d110b2f6ca0645cb2503652dc19bfc4a9c1.tar.gz
Truncate to 80 columns
Diffstat (limited to 'tests/test_streams.py')
-rw-r--r--tests/test_streams.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_streams.py b/tests/test_streams.py
index 73a375a..05963cf 100644
--- a/tests/test_streams.py
+++ b/tests/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)