From c6789d6c85a290a35f3839efb52a3d34536dcebe Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Mon, 3 Jun 2019 01:45:54 +0300 Subject: bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754) https://bugs.python.org/issue35621 --- Lib/test/test_asyncio/test_unix_events.py | 1 + 1 file changed, 1 insertion(+) (limited to '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 f7f992fcea4..462a8b3c785 100644 --- a/Lib/test/test_asyncio/test_unix_events.py +++ b/Lib/test/test_asyncio/test_unix_events.py @@ -1836,6 +1836,7 @@ class PolicyTests(unittest.TestCase): policy.get_event_loop().close() policy = self.create_policy() + policy.set_child_watcher(asyncio.SafeChildWatcher()) th = threading.Thread(target=f) th.start() -- cgit v1.2.3