Commit ebed57a0 authored by Ned Deily's avatar Ned Deily

Issue #18604: Skip the Tk instantiation test on OS X because it can

cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).
parent e3228d63
......@@ -434,7 +434,9 @@ def _is_gui_available():
reason = "cannot run without OS X gui process"
# check on every platform whether tkinter can actually do anything
if not reason:
# but skip the test on OS X because it can cause segfaults in Cocoa Tk
# when running regrtest with the -j option (multiple threads/subprocesses)
if (not reason) and (sys.platform != 'darwin'):
try:
from tkinter import Tk
root = Tk()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment