8000 bpo-35621: Fix tests when SafeChildWatcher is expected instead of Thr… · python/cpython@c6789d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit c6789d6

Browse files
asvetlovmiss-islington
authored andcommitted
bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754)
https://bugs.python.org/issue35621
1 parent fb9423f commit c6789d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_asyncio/test_unix_events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,6 +1836,7 @@ def f():
18361836
policy.get_event_loop().close()
18371837

18381838
policy = self.create_policy()
1839+
policy.set_child_watcher(asyncio.SafeChildWatcher())
18391840

18401841
th = threading.Thread(target=f)
18411842
th.start()

0 commit comments

Comments
 (0)
0