Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be16d68

Browse files
committed
Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built
1 parent baf45c5 commit be16d68

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Lib/test/test_ctypes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import unittest
2+
from test.support import import_module
23

3-
from ctypes.test import load_tests
4+
ctypes_test = import_module('ctypes.test')
5+
6+
load_tests = ctypes_test.load_tests
47

58
if __name__ == "__main__":
69
unittest.main()

0 commit comments

Comments
 (0)