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.5.0a1~641^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be16d68071623cdeea9611cf8debafe10bb409c0;p=python 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 53964ca9fa..68268992e9 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()