def get_TestSuite_from_module(mod, config):
    """Get an existing suite from a module."""
    for methname in ("get_suite", "GetSuite"):
        try:
            meth = getattr(mod, methname)
            return meth(config)
        except __HOLE__:
            continue
    raise module.ObjectImportError("Module %r does not have a get_suite() function." % (module,))
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/testloader.py/get_TestSuite_from_module