mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Workaround failure of test Tools/MacMesh/PressureValve.py
This commit is contained in:
parent
ba0f425284
commit
b4ddd97db8
@ -185,6 +185,8 @@ class MacObject:
|
||||
self.DirectionalMeshParams = MeshPar
|
||||
self.MeshPar[0] = GenFunctions.CompatibilityTest(self)
|
||||
|
||||
if isinstance( self.MeshPar[0], list ):
|
||||
return # workaround, as CompatibilityTest() can return a list
|
||||
if self.MeshPar[0] < 0 :
|
||||
Alarms.Message(4)
|
||||
if self.MeshPar[0] == -1 : print(("Problem encountered with object(s) no. "+str(ObjectsInvolved)))
|
||||
|
Loading…
Reference in New Issue
Block a user