]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Correcting test to be compatible with python 2.6. These bad lines will be destroyed...
authorageay <ageay>
Wed, 6 Feb 2013 13:37:29 +0000 (13:37 +0000)
committerageay <ageay>
Wed, 6 Feb 2013 13:37:29 +0000 (13:37 +0000)
src/MEDLoader/Swig/MEDLoaderTest3.py

index 75f25ef4cd418f87b7d7bf42e6571dd9fc974e90..dbaf8df19d67cc1a443a559f49b4927e83f807b3 100644 (file)
@@ -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)