From 0cb73d8f2f09d74bcecb71dac03db694e580772d Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 2 Apr 2008 08:50:11 +0000 Subject: [PATCH] Bug IPAL19413 - Qt4 porting: import salome_test fails --- src/KERNEL_PY/salome_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/KERNEL_PY/salome_test.py b/src/KERNEL_PY/salome_test.py index d18c706e2..94d2b81f0 100755 --- a/src/KERNEL_PY/salome_test.py +++ b/src/KERNEL_PY/salome_test.py @@ -237,7 +237,10 @@ print ret smesh.Compute(mesh, box) sg.updateObjBrowser(1); -if sys.platform != "win32": +# SUPERVISOR module is not available since SALOME 5.0 version +defineSuperV = 0 + +if (defineSuperV != 0) & (sys.platform != "win32"): print print "============= Test Supervisor =============================" print -- 2.39.2