diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 00:02:52 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 00:02:52 +0100 |
| commit | bc2b6d110b2f6ca0645cb2503652dc19bfc4a9c1 (patch) | |
| tree | eaba0f6409b8719642f7f6419d6000502a44e67d /tests/test_streams.py | |
| parent | 63a982e414b7b93b7e471340b07479c8c145ef71 (diff) | |
| download | trollius-bc2b6d110b2f6ca0645cb2503652dc19bfc4a9c1.tar.gz | |
Truncate to 80 columns
Diffstat (limited to 'tests/test_streams.py')
| -rw-r--r-- | tests/test_streams.py | 6 |
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) |
