Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Raw File
Tip revision: 4cf9b2047d0438b69f66b0c2fd48e6d7576eb1f1 authored by Georg Brandl on 11 November 2013, 05:13:54 UTC
Bump to 3.3.3rc2.
Tip revision: 4cf9b20
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