]> granicus.if.org Git - python/commit
bpo-31034: Reliable signal handler for test_asyncio (#2867) (#2876)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 26 Jul 2017 00:33:47 +0000 (02:33 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Jul 2017 00:33:47 +0000 (02:33 +0200)
commitefe9fcbd2ca85ba9d6af6d95cc530a9c332f37c5
treeabf4837c172976268941ad08cd24deece5c39b63
parent59e6ab15e47d496ac4e5f9d53aac0fae0c708da4
bpo-31034: Reliable signal handler for test_asyncio (#2867) (#2876)

* bpo-31034: Reliable signal handler for test_asyncio

Don't rely on the current SIGHUP signal handler, make sure that it's
set to the "default" signal handler: SIG_DFL.

* Add comments

(cherry picked from commit 830080913c22a9834d310294b9f7653234dc6a59)
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_subprocess.py