From: Nabil Ghodbane Date: Mon, 13 Mar 2023 15:30:38 +0000 (+0100) Subject: spns #33658 - remove tkinter on Windows X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c31495dbc5b99482bff365134110847d036d6e00;p=modules%2Fsmesh.git spns #33658 - remove tkinter on Windows --- diff --git a/test/SMESH_ParallelCompute.py b/test/SMESH_ParallelCompute.py index fccec1300..4f748c25f 100644 --- a/test/SMESH_ParallelCompute.py +++ b/test/SMESH_ParallelCompute.py @@ -1,9 +1,11 @@ # contains function to compute a mesh in parallel +import platform from platform import java_ver import sys -from tkinter import W import salome - +# tkinter not built on Windows - Python 3.6.5 +if platform.system() != 'Windows': + from tkinter import W import time