@synchronized("arbiter_rm_watcher")
    @gen.coroutine
    def rm_watcher(self, name, nostop=False):
        logger.debug('Deleting %r watcher', name)

        # remove the watcher from the list
        watcher = self._watchers_names.pop(name.lower())
        del self.watchers[self.watchers.index(watcher)]

        if not nostop:
            # stop the watcher
            yield watcher._stop()
Test _Set().
dataset/ETHPy150Open circus-tent/circus/circus/arbiter.py/Arbiter.rm_watcher--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/settings_test.py/BaseSettingsTest.testSet