Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 9e2043a5613a6423b7051b08a916b01969c179ed authored by Georg Brandl on 17 November 2013, 06:58:22 UTC
Bump to 3.3.3 final.
Tip revision: 9e2043a
test_ctypes.py
import unittest

from test.support import import_module

# Skip tests if _ctypes module was not built.
import_module('_ctypes')

import ctypes.test

def load_tests(*args):
    skipped, testcases = ctypes.test.get_tests(ctypes.test, "test_*.py", verbosity=0)
    suites = [unittest.makeSuite(t) for t in testcases]
    return unittest.TestSuite(suites)

if __name__ == "__main__":
    unittest.main()
back to top