X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=bin%2Fappliskel%2Ftests%2FsalomeCommand%2FTestLauncherSessionArgs.py;h=177d66d4b3a8ed3dbfeb2b022e0b3d8bb2d13cba;hb=5ce2d7b753146bc4f1db52b9b0e5af13c2cad2bd;hp=4a9f365a003578df01aef538f9cb92f3ec7aa072;hpb=66b7b8c5d71f081f82f5dad2a3221a53ba9e4ee5;p=modules%2Fkernel.git diff --git a/bin/appliskel/tests/salomeCommand/TestLauncherSessionArgs.py b/bin/appliskel/tests/salomeCommand/TestLauncherSessionArgs.py old mode 100644 new mode 100755 index 4a9f365a0..177d66d4b --- a/bin/appliskel/tests/salomeCommand/TestLauncherSessionArgs.py +++ b/bin/appliskel/tests/salomeCommand/TestLauncherSessionArgs.py @@ -1,4 +1,5 @@ -# Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE +#!/usr/bin/env python3 +# Copyright (C) 2013-2022 CEA/DEN, EDF R&D, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -57,6 +58,8 @@ class TestSessionArgs(unittest.TestCase): def setUp(self): import tempfile self.logFile = tempfile.NamedTemporaryFile() + if sys.platform == "win32": # Close file because of permission denined on Windows + self.logFile.close() # def tearDown(self): self.logFile.close()