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
commit9d4323861f0e3a69018f0b7ad00a99b0e6663835 (patch)
treeeaba0f6409b8719642f7f6419d6000502a44e67d /tests/test_streams.py
parentf139962e14cf85658af3b563adbeb7fbde07c864 (diff)
downloadtrollius-git-9d4323861f0e3a69018f0b7ad00a99b0e6663835.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)