summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_string_literals.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-09-24 22:09:08 (GMT)
committerGitHub <noreply@github.com>2022-09-24 22:09:08 (GMT)
commitfe8db634d41c9da54ec74b8380357c192fcbc437 (patch)
tree70e978dc8f1526bead98fd1e433f03e5dce3b226 /Lib/test/test_string_literals.py
parentc2916d2f0e8824caa1808c85859a26bfbc3e7515 (diff)
downloadcpython-fe8db634d41c9da54ec74b8380357c192fcbc437.zip
cpython-fe8db634d41c9da54ec74b8380357c192fcbc437.tar.gz
cpython-fe8db634d41c9da54ec74b8380357c192fcbc437.tar.bz2
gh-97527: IDLE: protect macosx Tk() call when no GUI (GH-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. (cherry picked from commit 9704f8da333a51da32318f16106d45abb20fab76) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/test/test_string_literals.py')
0 files changed, 0 insertions, 0 deletions