diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-10-17 19:24:14 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-10-17 19:24:14 (GMT) |
commit | be16d68071623cdeea9611cf8debafe10bb409c0 (patch) | |
tree | 251cc5d58d34496a9855258569dbf9131d4348fc | |
parent | baf45c590c7ca8688d11bf97a0341a83865ff3c9 (diff) | |
download | cpython-be16d68071623cdeea9611cf8debafe10bb409c0.zip cpython-be16d68071623cdeea9611cf8debafe10bb409c0.tar.gz cpython-be16d68071623cdeea9611cf8debafe10bb409c0.tar.bz2 |
Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built
-rw-r--r-- | Lib/test/test_ctypes.py | 5 |
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() |