]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Minor: wider exception check in IKDEC test abn/fix_except
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 16 May 2023 08:50:17 +0000 (10:50 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 16 May 2023 08:50:17 +0000 (10:50 +0200)
src/ParaMEDMEM_Swig/test_OverlapDEC.py

index 778f40b03f3d71e63b1369c95f94ded6b71362a8..8e67164331f3f79b491d2b237885b64a45f5037c 100755 (executable)
@@ -104,7 +104,7 @@ class ParaMEDMEM_O_DEC_Tests(unittest.TestCase):
         o3 = OverlapDEC.New(proc_group, MPI.COMM_WORLD)
         # Also work directly with the **hack** on the comm:
         o4 = OverlapDEC(proc_group, MPI._addressof(MPI.COMM_WORLD))
-        self.assertRaises(NotImplementedError, OverlapDEC, proc_group, MPI.COMM_WORLD)
+        self.assertRaises(Exception, OverlapDEC, proc_group, MPI.COMM_WORLD)
         o4.release(); o3.release(); o2.release(); o1.release()
 
     @WriteInTmpDir