X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=test%2Fex12_grid17partition.py;fp=test%2Fex12_grid17partition.py;h=fb940d59bfe3fd2ed9fc0b5528452f2cbad4314d;hp=3d4b67b66ca2b08a0712b369ac82adb77153252e;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hpb=d1392dc0345fb940899baa1121b9230843e47346 diff --git a/test/ex12_grid17partition.py b/test/ex12_grid17partition.py index 3d4b67b66..fb940d59b 100644 --- a/test/ex12_grid17partition.py +++ b/test/ex12_grid17partition.py @@ -143,7 +143,9 @@ hexa.Hexahedron() # Mesh calculus # ------------- -hexa.Compute() +isDone = hexa.Compute() +if not isDone: + raise Exception("Error when computing Mesh") t3= time.time()