X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2Fex19_sphereINcube.py;h=a393fab76449e6666a0fe6d6bfd91facaf74e5c6;hb=1ade5b188481247c04b3cecbe8405588f78c6803;hp=91bb1155aed582756474f66ef20785f036f390b3;hpb=d1392dc0345fb940899baa1121b9230843e47346;p=modules%2Fsmesh.git diff --git a/test/ex19_sphereINcube.py b/test/ex19_sphereINcube.py index 91bb1155a..a393fab76 100644 --- a/test/ex19_sphereINcube.py +++ b/test/ex19_sphereINcube.py @@ -180,7 +180,9 @@ hexa.Hexahedron() # Mesh calculus # ------------- -hexa.Compute() +isDone = hexa.Compute() +if not isDone: + raise Exception("Error when computing Mesh") # Le groupe de mailles # --------------------