def _get_root(self):
        try:
            filepath = self.changed_files.pop()
        except __HOLE__:
            return ''
        else:
            self.changed_files.add(filepath)
            root = os.path.abspath(filepath)[:-len(filepath)]
        self.__dict__['root'] = root
        return root
dataset/ETHPy150Open dcramer/quickunit/quickunit/filechecker.py/FileChecker._get_root