def _open_write(self):
        try:
            backend.SaveFile(self.name, '')
        except __HOLE__ as e:
            self._closed = True
            raise e
dataset/ETHPy150Open mockfs/mockfs/mockfs/storage.py/file._open_write