diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2019-06-02 22:45:54 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-02 22:45:54 (GMT) |
commit | c6789d6c85a290a35f3839efb52a3d34536dcebe (patch) | |
tree | 78f0fcb0c0ad8aea4289737b5e318454dbeadb62 /Lib/test/test_asyncio/test_unix_events.py | |
parent | fb9423fd0a85f06affb8c3a8f25dd598a649aa42 (diff) | |
download | cpython-c6789d6c85a290a35f3839efb52a3d34536dcebe.zip cpython-c6789d6c85a290a35f3839efb52a3d34536dcebe.tar.gz cpython-c6789d6c85a290a35f3839efb52a3d34536dcebe.tar.bz2 |
bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754)
https://bugs.python.org/issue35621
Diffstat (limited to 'Lib/test/test_asyncio/test_unix_events.py')
-rw-r--r-- | Lib/test/test_asyncio/test_unix_events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_unix_events.py b/Lib/test/test_asyncio/test_unix_events.py index f7f992f..462a8b3 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() |