[Python-checkins] bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754)
Miss Islington (bot)
webhook-mailer at python.org
Sun Jun 2 18:45:57 EDT 2019
https://github.com/python/cpython/commit/c6789d6c85a290a35f3839efb52a3d34536dcebe
commit: c6789d6c85a290a35f3839efb52a3d34536dcebe
branch: master
author: Andrew Svetlov <andrew.svetlov at gmail.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2019-06-02T15:45:54-07:00
summary:
bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754)
https://bugs.python.org/issue35621
files:
M Lib/test/test_asyncio/test_unix_events.py
diff --git a/Lib/test/test_asyncio/test_unix_events.py b/Lib/test/test_asyncio/test_unix_events.py
index f7f992fcea49..462a8b3c7859 100644
--- a/Lib/test/test_asyncio/test_unix_events.py
+++ b/Lib/test/test_asyncio/test_unix_events.py
@@ -1836,6 +1836,7 @@ def f():
policy.get_event_loop().close()
policy = self.create_policy()
+ policy.set_child_watcher(asyncio.SafeChildWatcher())
th = threading.Thread(target=f)
th.start()
More information about the Python-checkins
mailing list