Mercurial > cpython-lru_cache-weakref
view Lib/test/test_ctypes.py @ 78069:a8aa77458e12 3.2
Add c_size_t and c_ssize_t to the ctypes summary table.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Thu, 12 Jul 2012 20:31:50 +0200 |
| parents | f84340886936 |
| children | 42d4a29509c4 |
line wrap: on
line source
import unittest from test.support import run_unittest, import_module # Skip tests if _ctypes module was not built. import_module('_ctypes') import ctypes.test def test_main(): skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0) suites = [unittest.makeSuite(t) for t in testcases] run_unittest(unittest.TestSuite(suites)) if __name__ == "__main__": test_main()
