mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754)
https://bugs.python.org/issue35621
This commit is contained in:
parent
fb9423fd0a
commit
c6789d6c85
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue