mirror of
https://github.com/python/cpython.git
synced 2025-08-10 20:08:47 +00:00

(cherry picked from commit f59ed3c310
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
13 lines
309 B
Python
13 lines
309 B
Python
from test import support
|
|
# Skip test if _tkinter wasn't built.
|
|
support.import_module('_tkinter')
|
|
|
|
# Skip test if tk cannot be initialized.
|
|
support.requires('gui')
|
|
|
|
def load_tests(loader, tests, pattern):
|
|
return loader.discover('tkinter.test.test_tkinter')
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|