From 900aca2f656147a5e67601ad934ceaced981d6d6 Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 6 Feb 2013 13:37:29 +0000 Subject: [PATCH] Correcting test to be compatible with python 2.6. These bad lines will be destroyed in Salome7 --- src/MEDLoader/Swig/MEDLoaderTest3.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MEDLoader/Swig/MEDLoaderTest3.py b/src/MEDLoader/Swig/MEDLoaderTest3.py index 75f25ef4c..dbaf8df19 100644 --- a/src/MEDLoader/Swig/MEDLoaderTest3.py +++ b/src/MEDLoader/Swig/MEDLoaderTest3.py @@ -1931,6 +1931,10 @@ class MEDLoaderTest(unittest.TestCase): pass def testHeapMem1(self): + import platform + ver=platform.python_version_tuple() + if int(ver[0])!=2 or int(ver[1])<7: + return m=MEDCouplingCMesh() arr=DataArrayDouble(10,1) ; arr.iota(0) m.setCoords(arr,arr) -- 2.39.2