def goodDecorator(fn):
    """
    Decorate a function and preserve the original name.
    """
    def nameCollision(*args, **kwargs):
        return fn(*args, **kwargs)
    return mergeFunctionMetadata(fn, nameCollision)

    Decorate a function and preserve the original name.
    
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/sample.py