Lines Matching refs:watcher
585 # manually to avoid a warning when the watcher is detached.
717 watcher = self.Watcher()
718 watcher.attach_loop(self.loop)
719 policy.set_child_watcher(watcher)
724 watcher = policy.get_child_watcher()
726 watcher.attach_loop(None)
727 watcher.close()
772 watcher = mock.create_autospec(
778 asyncio.set_child_watcher(watcher)
784 watcher.add_child_handler.assert_not_called()
788 self.assertListEqual(watcher.mock_calls, [