PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 38ms app.codeStats 0ms

/Lib/test/test_ctypes.py

http://unladen-swallow.googlecode.com/
Python | 12 lines | 9 code | 3 blank | 0 comment | 3 complexity | 9359b6d82065bbc7c9102da652934474 MD5 | raw file
 1import unittest
 2
 3from test.test_support import run_unittest
 4import ctypes.test
 5
 6def test_main():
 7    skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
 8    suites = [unittest.makeSuite(t) for t in testcases]
 9    run_unittest(unittest.TestSuite(suites))
10
11if __name__ == "__main__":
12    test_main()