Staging
v0.8.1
v0.8.1
Revision 4ed35fc4f31ebbdb25ba5e1291de77f4095c33d0 authored by Martin Panter on 10 October 2015, 10:52:35 UTC, committed by Martin Panter on 10 October 2015, 10:52:35 UTC
1 parent dab305e
test_ctypes.py
import unittest
from test.test_support import run_unittest, import_module
#Skip tests if _ctypes module does not exist
import_module('_ctypes')
def test_main():
import ctypes.test
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()
Computing file changes ...