Skip to content
Snippets Groups Projects
Unverified Commit 9704f8da authored by Terry Jan Reedy's avatar Terry Jan Reedy Committed by GitHub
Browse files

gh-97527: IDLE: protect macosx Tk() call when no GUI (#97530)

Only call tkinter.tk and its follow-up code in _init_tk_type when requires('gui')
does not raise.  This function can be called as an unintended side-effect of
calling other idlelib code as part of tests on macOS without a GUI enabled.
parent db390503
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment