diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2019-09-12 12:40:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-12 12:40:40 (GMT) |
commit | a488879cbaf4b8b52699cadccf73bb4c271bcb29 (patch) | |
tree | de6a1f6a029e3572ea749e6fe81bc461bf0c1732 /Lib/test/test_asyncio/test_streams.py | |
parent | 3ab61473ba7f3dca32d779ec2766a4faa0657923 (diff) | |
download | cpython-a488879cbaf4b8b52699cadccf73bb4c271bcb29.zip cpython-a488879cbaf4b8b52699cadccf73bb4c271bcb29.tar.gz cpython-a488879cbaf4b8b52699cadccf73bb4c271bcb29.tar.bz2 |
bpo-36373: Deprecate explicit loop in task and subprocess API (GH-16033)
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
-rw-r--r-- | Lib/test/test_asyncio/test_streams.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py index 60fe52f..6325ee3 100644 --- a/Lib/test/test_asyncio/test_streams.py +++ b/Lib/test/test_asyncio/test_streams.py @@ -855,9 +855,10 @@ os.close(fd) watcher.attach_loop(self.loop) try: asyncio.set_child_watcher(watcher) - create = asyncio.create_subprocess_exec(*args, - pass_fds={wfd}, - loop=self.loop) + create = asyncio.create_subprocess_exec( + *args, + pass_fds={wfd}, + ) proc = self.loop.run_until_complete(create) self.loop.run_until_complete(proc.wait()) finally: |