mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-21315)
This commit is contained in:
parent
883bc63833
commit
a089d21df1
20 changed files with 69 additions and 49 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue