summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-10-17 19:24:14 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-10-17 19:24:14 (GMT)
commitbe16d68071623cdeea9611cf8debafe10bb409c0 (patch)
tree251cc5d58d34496a9855258569dbf9131d4348fc /Lib
parentbaf45c590c7ca8688d11bf97a0341a83865ff3c9 (diff)
downloadcpython-be16d68071623cdeea9611cf8debafe10bb409c0.zip
cpython-be16d68071623cdeea9611cf8debafe10bb409c0.tar.gz
cpython-be16d68071623cdeea9611cf8debafe10bb409c0.tar.bz2
Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_ctypes.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_ctypes.py b/Lib/test/test_ctypes.py
index 53964ca..6826899 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()