summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-06-25 12:15:40 (GMT)
committerGitHub <noreply@github.com>2020-06-25 12:15:40 (GMT)
commit06a40d735939fd7d5cb77a68a6e18299b6484fa5 (patch)
tree1d830596f995942fb2b6088002cab6ebcb0aee0d /Lib/test/test_tcl.py
parent91698d8caa4b5bb6e8dbb64b156e8afe9e32cac1 (diff)
downloadcpython-06a40d735939fd7d5cb77a68a6e18299b6484fa5.zip
cpython-06a40d735939fd7d5cb77a68a6e18299b6484fa5.tar.gz
cpython-06a40d735939fd7d5cb77a68a6e18299b6484fa5.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-20824)
Diffstat (limited to 'Lib/test/test_tcl.py')
-rw-r--r--Lib/test/test_tcl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index 1c5b9cf..db982da 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -5,9 +5,10 @@ import sys
import os
import warnings
from test import support
+from test.support import import_helper
# Skip this test if the _tkinter module wasn't built.
-_tkinter = support.import_module('_tkinter')
+_tkinter = import_helper.import_module('_tkinter')
import tkinter
from tkinter import Tcl