summaryrefslogtreecommitdiff
path: root/Lib/test/test_tk.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_tk.py')
-rw-r--r--Lib/test/test_tk.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_tk.py b/Lib/test/test_tk.py
index 48cefd92e1..59842a5e25 100644
--- a/Lib/test/test_tk.py
+++ b/Lib/test/test_tk.py
@@ -1,6 +1,7 @@
from test import support
+from test.support import import_helper
# Skip test if _tkinter wasn't built.
-support.import_module('_tkinter')
+import_helper.import_module('_tkinter')
# Skip test if tk cannot be initialized.
support.requires('gui')