From: Gilles DAVID Date: Thu, 1 Jun 2017 16:29:54 +0000 (+0200) Subject: Python 3: call to python3 in SALOMESDS test X-Git-Tag: V9_0_0~24^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3816b7db592e551e98adb56d606cf0870c513234;p=modules%2Fkernel.git Python 3: call to python3 in SALOMESDS test --- diff --git a/src/SALOMESDS/TestSalomeSDS.py b/src/SALOMESDS/TestSalomeSDS.py index a4302f27c..e00a5ed77 100644 --- a/src/SALOMESDS/TestSalomeSDS.py +++ b/src/SALOMESDS/TestSalomeSDS.py @@ -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)