mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built
This commit is contained in:
parent
baf45c590c
commit
be16d68071
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue