summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ttk_guionly.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-07-09 13:25:10 (GMT)
committerGitHub <noreply@github.com>2020-07-09 13:25:10 (GMT)
commit96a6a6d42be272a27562d98549bbffc0d1854669 (patch)
tree9c4fc12729aa2accce4ca953a6431acec87cf542 /Lib/test/test_ttk_guionly.py
parent61bb24a270d15106decb1c7983bf4c2831671a75 (diff)
downloadcpython-96a6a6d42be272a27562d98549bbffc0d1854669.zip
cpython-96a6a6d42be272a27562d98549bbffc0d1854669.tar.gz
cpython-96a6a6d42be272a27562d98549bbffc0d1854669.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-21412)
Diffstat (limited to 'Lib/test/test_ttk_guionly.py')
-rw-r--r--Lib/test/test_ttk_guionly.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_ttk_guionly.py b/Lib/test/test_ttk_guionly.py
index 462665d..abb2643 100644
--- a/Lib/test/test_ttk_guionly.py
+++ b/Lib/test/test_ttk_guionly.py
@@ -1,8 +1,9 @@
import unittest
from test import support
+from test.support import import_helper
# Skip this 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')