From: Zachary Ware Date: Fri, 17 Oct 2014 19:24:14 +0000 (-0500) Subject: Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built X-Git-Tag: v3.4.3rc1~456 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be16d68071623cdeea9611cf8debafe10bb409c0;p=thirdparty%2FPython%2Fcpython.git Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built --- diff --git a/Lib/test/test_ctypes.py b/Lib/test/test_ctypes.py index 53964ca9faa7..68268992e9f9 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()