def kill_one(self, slot):
        log = logging.getLogger()
        data_dir, process = self.processes.pop(slot)
        process.kill()
        time.sleep(2)
        log.debug('Killed etcd pid:%d', process.pid)
        shutil.rmtree(data_dir)
        log.debug('Removed directory %s' % data_dir)
dataset/ETHPy150Open jplana/python-etcd/src/etcd/tests/integration/helpers.py/EtcdProcessHelper.kill_one/original