From: vsr Date: Wed, 4 Dec 2013 08:18:24 +0000 (+0000) Subject: Fix problem with tests: add missing 'import os' X-Git-Tag: V7_3_0b1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f1a676a79956f26ba35a103e3fb5c24772dce97d;p=modules%2Fmed.git Fix problem with tests: add missing 'import os' --- diff --git a/src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py b/src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py index 399e200dd..6f219b438 100644 --- a/src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py +++ b/src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py @@ -21,7 +21,7 @@ from MEDLoader import * from MEDCouplingRemapper import * -import math +import math, os d=DataArrayDouble.New(6,2) d[:,0]=3. diff --git a/src/MEDLoader/Swig/MEDLoaderExamplesTest.py b/src/MEDLoader/Swig/MEDLoaderExamplesTest.py index 861f614d1..bcf070846 100644 --- a/src/MEDLoader/Swig/MEDLoaderExamplesTest.py +++ b/src/MEDLoader/Swig/MEDLoaderExamplesTest.py @@ -21,6 +21,7 @@ from MEDLoader import * import unittest +import os class MEDLoaderBasicsTest(unittest.TestCase): def testExampleReadFieldOnAllEntity1(self):