mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-20824)
This commit is contained in:
parent
91698d8caa
commit
06a40d7359
9 changed files with 29 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue