X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=test%2Fex11_grid3partition.py;h=4de0dfea472e78bead74d49316da20b688debcf1;hp=15775a8f1a1f177538a6b52f52a3bd16776300bb;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hpb=d1392dc0345fb940899baa1121b9230843e47346 diff --git a/test/ex11_grid3partition.py b/test/ex11_grid3partition.py index 15775a8f1..4de0dfea4 100644 --- a/test/ex11_grid3partition.py +++ b/test/ex11_grid3partition.py @@ -123,7 +123,9 @@ hexa.Hexahedron() # Mesh calculus # ------------- -hexa.Compute() +isDone = hexa.Compute() +if not isDone: + raise Exception("Error when computing Mesh") # Update object browser # ---------------------