From: Anthony Geay Date: Thu, 18 Jul 2019 06:24:44 +0000 (+0200) Subject: UsersGuideExamplesTest X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=946b026677c657b5f41c8dcb47760a694803b19a;p=tools%2Fmedcoupling.git UsersGuideExamplesTest --- diff --git a/src/MEDLoader/Swig/UsersGuideExamplesTest.py b/src/MEDLoader/Swig/UsersGuideExamplesTest.py index 5188e58d9..447a89a30 100644 --- a/src/MEDLoader/Swig/UsersGuideExamplesTest.py +++ b/src/MEDLoader/Swig/UsersGuideExamplesTest.py @@ -20,6 +20,10 @@ from MEDLoader import * import os +import tempfile,os,shutil + +zeDir = tempfile.mkdtemp() +os.chdir(zeDir) from MEDLoaderDataForTest import MEDLoaderDataForTest m = MEDLoaderDataForTest.build1DMesh_1() @@ -184,3 +188,4 @@ for ff1TS in ff: field=ff1TS.getFieldAtLevel(ON_CELLS,level) field=ff1TS.getFieldOnMeshAtLevel(ON_CELLS,level,mm) #! [UG_RWFieldAdv_5] +shutil.rmtree(zeDir)