]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_ctypes.py
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / test_ctypes.py
CommitLineData
4710c53d 1import unittest\r
2\r
3from test.test_support import run_unittest, import_module\r
4#Skip tests if _ctypes module does not exist\r
5import_module('_ctypes')\r
6\r
7\r
8def test_main():\r
9 import ctypes.test\r
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)\r
11 suites = [unittest.makeSuite(t) for t in testcases]\r
12 run_unittest(unittest.TestSuite(suites))\r
13\r
14if __name__ == "__main__":\r
15 test_main()\r