-# 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
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()