]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
On MD10 32 bits OS numpy bug on 1.6.2 on cumsum ???
authorageay <ageay>
Thu, 18 Jul 2013 13:15:09 +0000 (13:15 +0000)
committerageay <ageay>
Thu, 18 Jul 2013 13:15:09 +0000 (13:15 +0000)
Adrien is on this !
For the moment on 32bit architecture the test is skipped !

src/MEDCoupling_Swig/MEDCouplingNumPyTest.py

index 78dc02d1809640f9fbeb35e17b8c4fad6a81034c..0fcfe6c3fbe5a467bc9a7c8dede03e42a422af3f 100644 (file)
@@ -25,13 +25,14 @@ if MEDCouplingHasNumPyBindings():
     from numpy import *
     pass
 
+from platform import architecture
 from sys import getrefcount
 
 import os,gc,weakref,unittest
 
 class MEDCouplingNumPyTest(unittest.TestCase):
     
-    @unittest.skipUnless(MEDCouplingHasNumPyBindings(),"requires numpy")
+    @unittest.skipUnless(MEDCouplingHasNumPyBindings() and architecture()[0]=="64bit","requires numpy")
     def test1(self):
         sz=20
         a=array(0,dtype=int32)