]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/Test/TestImportImage_1.py
Salome HOME
Fix tests instability
[modules/shaper.git] / src / ExchangePlugin / Test / TestImportImage_1.py
index 1fcc4645bb4166a763985e8f373bcf8222615097..327caf623e2756ff506cb3254a2900e51c847c81 100755 (executable)
@@ -101,5 +101,6 @@ assert(abs(dz-0) <= tol)
 import salome_utils
 import killSalomeWithPort
 
-port = salome_utils.getPortNumber()
-killSalomeWithPort.killMyPort(port)
+port = salome_utils.getPortNumber(False)
+if port:
+  killSalomeWithPort.killMyPort(port)