Guilherme Polo | 9de29af | 2009-01-28 20:40:48 +0000 | [diff] [blame] | 1 | import os |
Guilherme Polo | 9de29af | 2009-01-28 20:40:48 +0000 | [diff] [blame] | 2 | from test import support |
R. David Murray | a21e4ca | 2009-03-31 23:16:50 +0000 | [diff] [blame] | 3 | |
| 4 | # Skip this test if _tkinter does not exist. |
| 5 | support.import_module('_tkinter') |
| 6 | |
Guilherme Polo | 9de29af | 2009-01-28 20:40:48 +0000 | [diff] [blame] | 7 | from tkinter.test import runtktests |
| 8 | |
| 9 | def test_main(): |
| 10 | support.run_unittest( |
| 11 | *runtktests.get_tests(gui=False, packages=['test_ttk'])) |
| 12 | |
| 13 | if __name__ == '__main__': |
| 14 | test_main() |