From: ageay Date: Wed, 6 Feb 2013 13:37:29 +0000 (+0000) Subject: Correcting test to be compatible with python 2.6. These bad lines will be destroyed... X-Git-Tag: V6_main_FINAL~383 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=900aca2f656147a5e67601ad934ceaced981d6d6;p=tools%2Fmedcoupling.git Correcting test to be compatible with python 2.6. These bad lines will be destroyed in Salome7 --- 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)