

def tearDown(self):
    RAM._RAM = self.orig_ram
    if self.skip_ssh:
        return
    uid = os.getuid()
    tempdir = tempfile.gettempdir()
    for path in glob.glob(os.path.join(tempdir, 'omdao-*')):
        info = os.stat(path)
        if (info.st_uid == uid):
            shutil.rmtree(path, onerror=onerror)

dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/test/test_resource.py TestCase.tearDown/original