diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-07-06 09:15:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 09:15:08 (GMT) |
commit | a089d21df1ea502b995d8e8a3bcc937cce030802 (patch) | |
tree | 0ca48d704e4b63bd7090483a24879a09e1f911eb /Lib/test/test_tk.py | |
parent | 883bc638335a57a6e6a6344c2fc132c4f9a0ec42 (diff) | |
download | cpython-a089d21df1ea502b995d8e8a3bcc937cce030802.zip cpython-a089d21df1ea502b995d8e8a3bcc937cce030802.tar.gz cpython-a089d21df1ea502b995d8e8a3bcc937cce030802.tar.bz2 |
bpo-40275: Use new test.support helper submodules in tests (GH-21315)
Diffstat (limited to 'Lib/test/test_tk.py')
-rw-r--r-- | Lib/test/test_tk.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_tk.py b/Lib/test/test_tk.py index 48cefd9..59842a5 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') |