1from test import support
2
3# Skip this test if _tkinter does not exist.
4support.import_module('_tkinter')
5
6from tkinter.test import runtktests
7
8def test_main():
9    support.run_unittest(
10            *runtktests.get_tests(gui=False, packages=['test_ttk']))
11
12if __name__ == '__main__':
13    test_main()
14