human
Complete this python program:
def attr(**kwargs):
assistant
#Here is the Python program you requested.

    """Add attributes to a test function/method/class
    """
    def wrap(func):
        func.__dict__.update(kwargs)
        return func
    return wrap