Your IP : 216.73.216.196


Current Path : /opt/alt/python310/lib64/python3.10/ctypes/test/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/ctypes/test/__init__.py

import os
import unittest
from test import support
from test.support import import_helper


# skip tests if _ctypes was not built
ctypes = import_helper.import_module('ctypes')
ctypes_symbols = dir(ctypes)

def need_symbol(name):
    return unittest.skipUnless(name in ctypes_symbols,
                               '{!r} is required'.format(name))

def load_tests(*args):
    return support.load_package_tests(os.path.dirname(__file__), *args)