aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/idle_test/htest.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-08 18:09:22 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-08 18:09:22 -0400
commitfb51e6528947f86f4c64a409966deb8cb1267083 (patch)
tree4b7575beb0980703a87d1a609a42e4c26e08d69e /Lib/idlelib/idle_test/htest.py
parent47791df97cb36d5abf4ef7e465e7e654690f1cbd (diff)
downloadcpython-fb51e6528947f86f4c64a409966deb8cb1267083.tar.gz
cpython-fb51e6528947f86f4c64a409966deb8cb1267083.zip
Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed.
Diffstat (limited to 'Lib/idlelib/idle_test/htest.py')
-rw-r--r--Lib/idlelib/idle_test/htest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py
index 46756459622..686ccc5fd5c 100644
--- a/Lib/idlelib/idle_test/htest.py
+++ b/Lib/idlelib/idle_test/htest.py
@@ -66,7 +66,7 @@ outwin.OutputWindow (indirectly being tested with grep test)
'''
from importlib import import_module
-from idlelib.macosx import _initializeTkVariantTests
+from idlelib.macosx import _init_tk_type
import tkinter as tk
AboutDialog_spec = {
@@ -337,7 +337,7 @@ def run(*tests):
root = tk.Tk()
root.title('IDLE htest')
root.resizable(0, 0)
- _initializeTkVariantTests(root)
+ _init_tk_type(root)
# a scrollable Label like constant width text widget.
frameLabel = tk.Frame(root, padx=10)