summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()