Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 18e897250a073e22ebc5e50d59551e44d98f8338 authored by Georg Brandl on 12 October 2014, 07:03:40 UTC
Bump to 3.3.6
Tip revision: 18e8972
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