From f1a676a79956f26ba35a103e3fb5c24772dce97d Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 4 Dec 2013 08:18:24 +0000 Subject: [PATCH] Fix problem with tests: add missing 'import os' --- src/MEDLoader/Swig/MEDLoaderCouplingTrainingSession.py | 2 +- src/MEDLoader/Swig/MEDLoaderExamplesTest.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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): -- 2.39.2