Fix two failing tests on Windows:

1- ex30_tepal.py -  vetoe this test on Windows since 3D Mesher is not available GHS3DRPL -  MeshGemsh
  2- creating_parallel_mesh.py: on windows we build Python without tcl/tk thus tkinter module is missing -  do not raise exception in that case
Tested OK on Windows
This commit is contained in:
Nabil Ghodbane 2023-03-29 13:16:34 +02:00
parent 2271025156
commit d1392dc034
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# contains function to compute a mesh in parallel
from platform import java_ver
import sys
from tkinter import W
try:
from tkinter import W
except:
print("warning: could not import tkinter")
import salome
import time

View File

@ -33,7 +33,6 @@ SET(BAD_TESTS
ex04_cube5tetraHexa.py
ex21_lamp.py
ex29_refine.py
ex30_tepal.py
ex_MakePolyLine.py
test_smeshplugins.py
PAL_MESH_041_mesh.py
@ -68,6 +67,7 @@ SET(BAD_TESTS
)
IF(NOT WIN32)
LIST(APPEND BAD_TESTS
ex30_tepal.py
test_smeshplugin_mg_tetra_parallele.py
)
ENDIF(NOT WIN32)