]> granicus.if.org Git - python/commit
bpo-32517: fix test_read_pty_output() hangs on macOS 10.13.2+ (GH-6037)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Mar 2018 18:14:14 +0000 (10:14 -0800)
committerGitHub <noreply@github.com>
Fri, 9 Mar 2018 18:14:14 +0000 (10:14 -0800)
commit3c39beb65d003b209a98a79af4aaf94ba16d0d29
treeaf0b30df4f42f8209c85bab053dda62077db17e9
parent8c163bbf370f6f6cedd2c07f7d54c9b36c97d8f2
bpo-32517: fix test_read_pty_output() hangs on macOS 10.13.2+ (GH-6037)

test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()`
using the KqueueSelector. Closing `proto.transport` (as is done in
`write_pty_output()`) seems to fix it.
(cherry picked from commit 12f74d8608c15cacd9d5786524e2be9ca36f007e)

Co-authored-by: Nathan Henrie <n8henrie@users.noreply.github.com>
Lib/test/test_asyncio/test_events.py
Misc/ACKS
Misc/NEWS.d/next/Tests/2018-03-09-07-05-12.bpo-32517.ugc1iW.rst [new file with mode: 0644]