asyncio: Truncate to 80 columns

This commit is contained in:
Victor Stinner 2015-01-09 00:09:10 +01:00
parent 8d9c145f61
commit 15cc678d89
12 changed files with 60 additions and 33 deletions

View file

@ -115,7 +115,9 @@ class SubprocessMixin:
def test_send_signal(self):
code = 'import time; print("sleeping", flush=True); time.sleep(3600)'
args = [sys.executable, '-c', code]
create = asyncio.create_subprocess_exec(*args, loop=self.loop, stdout=subprocess.PIPE)
create = asyncio.create_subprocess_exec(*args,
stdout=subprocess.PIPE,
loop=self.loop)
proc = self.loop.run_until_complete(create)
@asyncio.coroutine