From be16d68071623cdeea9611cf8debafe10bb409c0 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 17 Oct 2014 14:24:14 -0500 Subject: [PATCH] Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built --- Lib/test/test_ctypes.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_ctypes.py b/Lib/test/test_ctypes.py index 53964ca9faa..68268992e9f 100644 --- a/Lib/test/test_ctypes.py +++ b/Lib/test/test_ctypes.py @@ -1,6 +1,9 @@ import unittest +from test.support import import_module -from ctypes.test import load_tests +ctypes_test = import_module('ctypes.test') + +load_tests = ctypes_test.load_tests if __name__ == "__main__": unittest.main()