1from test import support
2# Skip test if _tkinter wasn't built.
3support.import_module('_tkinter')
4
5# Skip test if tk cannot be initialized.
6support.requires('gui')
7
8from tkinter.test import runtktests
9
10def test_main():
11    support.run_unittest(
12            *runtktests.get_tests(text=False, packages=['test_tkinter']))
13
14if __name__ == '__main__':
15    test_main()
16