bpo-40275: Use new test.support helper submodules in tests (GH-21451)

This commit is contained in:
Hai Shi 2020-08-04 00:47:42 +08:00 committed by GitHub
parent a7f5d93bb6
commit bb0424b122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 324 additions and 278 deletions

View file

@ -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