bpo-35621: Fix tests when SafeChildWatcher is expected instead of Thr… · python/cpython@c6789d6 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit c6789d6

asvetlovmiss-islington

authored and

committed

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 0 deletions

Original file line number Diff line number Diff line change
@@ -1836,6 +1836,7 @@ def f():
1836 1836 policy.get_event_loop().close()
1837 1837
1838 1838 policy = self.create_policy()
1839 +policy.set_child_watcher(asyncio.SafeChildWatcher())
1839 1840
1840 1841 th = threading.Thread(target=f)
1841 1842 th.start()