1 2 3 4 5 6 7 8
from test import support from tkinter.test import runtktests def test_main(): support.run_unittest(*runtktests.get_tests(gui=False)) if __name__ == '__main__': test_main()