def force_import_module(name):
    if name in sys.modules:
        return reload_module(sys.modules[name])

    else:
        return import_module(name)
dataset/ETHPy150Open armet/python-armet/tests/connectors/utils.py/force_import_module/original