Catch situations where currentframe() returns None. See SF patch #1447410, this is...
[python.git] / Lib / test / test_ctypes.py
blobfd2032bc6d2da5f0e130bab2241d7b3ae6dc21ac
1 import unittest
3 from test.test_support import run_suite
4 import ctypes.test
6 def 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_suite(unittest.TestSuite(suites))
11 if __name__ == "__main__":
12 test_main()