Staging
v0.8.1
Revision bde44876de7a12838a3e83735b1f5d88380d3877 authored by Barry Warsaw on 18 October 2009, 16:50:06 UTC, committed by Barry Warsaw on 18 October 2009, 16:50:06 UTC
1 parent 0c0cfad
Raw File
test_ctypes.py
import unittest

from test.test_support import run_unittest
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()
back to top