def METHOD_NAME(self):
    with get_tmp_dir() as tmp_dir:
        dir_to_be_removed = join(tmp_dir, 'dir_to_be_removed')
        makedirs(dir_to_be_removed, exist_ok=True)
        _remove_dir(dir_to_be_removed)
        self.assertFalse(exists(dir_to_be_removed))