blob: 48cefd92e121627d36c5e478de4c6e5d8d7193af [file] [log] [blame]
Guilherme Poloa91790a2009-02-09 20:40:42 +00001from test import support
R. David Murraya21e4ca2009-03-31 23:16:50 +00002# Skip test if _tkinter wasn't built.
3support.import_module('_tkinter')
4
Ned Deily41435352011-07-03 21:56:48 -07005# Skip test if tk cannot be initialized.
Zachary Warececed6b2014-05-02 10:51:07 -05006support.requires('gui')
Kristján Valur Jónsson42a40c52009-04-01 11:28:47 +00007
Ned Deily41435352011-07-03 21:56:48 -07008from tkinter.test import runtktests
Guilherme Poloa91790a2009-02-09 20:40:42 +00009
Zachary Ware66f29282014-06-02 16:01:29 -050010def test_main():
Guilherme Poloa91790a2009-02-09 20:40:42 +000011 support.run_unittest(
12 *runtktests.get_tests(text=False, packages=['test_tkinter']))
13
14if __name__ == '__main__':
Zachary Ware66f29282014-06-02 16:01:29 -050015 test_main()