def get_module(name):
    try:
        return sys.modules[name]
    except KeyError:
        pass
    try:
        __import__(name)
    except ImportError as err:
        raise ModuleImportError("Error loading: %s (%s)." % (name, err))
    else:
        return sys.modules[name]
if a macro tag is called with a default set to
dataset/ETHPy150Open kdart/pycopia/aid/pycopia/module.py/get_module--crossover with--dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/MacrosTests.test_macro_raises_variable_missing_exception