]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Python 3: call to python3 in SALOMESDS test
authorGilles DAVID <gilles-g.david@edf.fr>
Thu, 1 Jun 2017 16:29:54 +0000 (18:29 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Thu, 1 Jun 2017 16:29:54 +0000 (18:29 +0200)
src/SALOMESDS/TestSalomeSDS.py

index a4302f27cb3d5bd6f684e3d4ef48d4a48d48ee6d..e00a5ed7787005490c38ad502fb920d12b6809c2 100644 (file)
@@ -48,7 +48,7 @@ def work(t):
     import TestSalomeSDSHelper0
     import os,subprocess
     fname=os.path.splitext(TestSalomeSDSHelper0.__file__)[0]+".py"
-    proc=subprocess.Popen(["python",fname],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
+    proc = subprocess.Popen(["python3", fname], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
     out,err=proc.communicate()
     if proc.returncode!=0:
       print(out)