Issue #6615: logging: Used weak references in internal handler list. Thanks to flox...
[python.git] / Lib / test / test_ctypes.py
blob85f137e45ee25e233c2bf11d10edfba72f883910
1 import unittest
3 from test.test_support import run_unittest, import_module
4 #Skip tests if _ctypes module does not exist
5 import_module('_ctypes')
7 import ctypes.test
9 def test_main():
10 skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
11 suites = [unittest.makeSuite(t) for t in testcases]
12 run_unittest(unittest.TestSuite(suites))
14 if __name__ == "__main__":
15 test_main()