

def iter_suites(package):
    'Yields all testsuites.'
    for module in find_modules(package, include_packages=True):
        mod = __import__(mod, fromlist=['*'])
        if hasattr(mod, 'suite'):
            (yield mod.suite())

dataset/ETHPy150Open tony/tmuxp/tmuxp/testsuite/__init__.py iter_suites/VarMisuse@30/45 `module`->`mod`