def METHOD_NAME():
    """Helper to purge global attributes from the enums"""
    old_attrs = [attr for attr in dir(enums)]
    yield
    added_attrs = [attr for attr in dir(enums) if attr not in old_attrs]
    for added_attr in added_attrs:
        delattr(enums, added_attr)