summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ttk_textonly.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-08-03 16:47:42 (GMT)
committerGitHub <noreply@github.com>2020-08-03 16:47:42 (GMT)
commitbb0424b122e3d222a558bd4177ce37befd3e0347 (patch)
treef5962e6276319558e48b702b6fa5a48f5c03ff6b /Lib/test/test_ttk_textonly.py
parenta7f5d93bb6906d0f999248b47295d3a59b130f4d (diff)
downloadcpython-bb0424b122e3d222a558bd4177ce37befd3e0347.zip
cpython-bb0424b122e3d222a558bd4177ce37befd3e0347.tar.gz
cpython-bb0424b122e3d222a558bd4177ce37befd3e0347.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-21451)
Diffstat (limited to 'Lib/test/test_ttk_textonly.py')
-rw-r--r--Lib/test/test_ttk_textonly.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_ttk_textonly.py b/Lib/test/test_ttk_textonly.py
index 7540a431..013b0e9 100644
--- a/Lib/test/test_ttk_textonly.py
+++ b/Lib/test/test_ttk_textonly.py
@@ -1,7 +1,9 @@
from test import support
+from test.support import import_helper
+
# Skip this test if _tkinter does not exist.
-support.import_module('_tkinter')
+import_helper.import_module('_tkinter')
from tkinter.test import runtktests