From: Camille GOUTTEBROZE Date: Thu, 17 Apr 2014 12:05:57 +0000 (+0200) Subject: Closing a file before removing it X-Git-Tag: V7_4_0rc1~2^2~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34a15cad689fc9fd5c25fc8aacf053cf202efbf9;p=tools%2Fmedcoupling.git Closing a file before removing it --- diff --git a/src/MEDLoader/Swig/SauvLoaderTest.py b/src/MEDLoader/Swig/SauvLoaderTest.py index 8d7c0e1b5..7d45a72ec 100644 --- a/src/MEDLoader/Swig/SauvLoaderTest.py +++ b/src/MEDLoader/Swig/SauvLoaderTest.py @@ -382,6 +382,7 @@ class SauvLoaderTest(unittest.TestCase): pass line=f.readline() pass + f.close() os.remove(sauvFile) pass