def METHOD_NAME(self):
    """Remove the tmp dir"""
    if self.temp_dir:
        if not self._created_with_keep_for_debug:
            shutil.rmtree(self.temp_dir, ignore_errors=True)
            self.TEMPDIRS.METHOD_NAME(self.temp_dir)
        self.temp_dir = None