]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ttk_textonly.py
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / test_ttk_textonly.py
CommitLineData
4710c53d 1import os\r
2from test import test_support\r
3\r
4# Skip this test if _tkinter does not exist.\r
5test_support.import_module('_tkinter')\r
6\r
7this_dir = os.path.dirname(os.path.abspath(__file__))\r
8lib_tk_test = os.path.abspath(os.path.join(this_dir, '..', 'lib-tk', 'test'))\r
9\r
10with test_support.DirsOnSysPath(lib_tk_test):\r
11 import runtktests\r
12\r
13def test_main():\r
14 with test_support.DirsOnSysPath(lib_tk_test):\r
15 test_support.run_unittest(\r
16 *runtktests.get_tests(gui=False, packages=['test_ttk']))\r
17\r
18if __name__ == '__main__':\r
19 test_main()\r