def import_or_raise(pkg_or_module_string, ExceptionType, *args, **kwargs):
    try:
        return __import__(pkg_or_module_string)
    except __HOLE__:
        raise ExceptionType(*args, **kwargs)
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/utils/__init__.py/import_or_raise