human
I wrote the below code

    def foo():
        pass
    assigned = list(functools.WRAPPER_ASSIGNMENTS)
    assigned.remove(u'__name__')
    def bar():
        pass
    orig_bar = bar
    bar = wraps(foo, assigned=assigned)(bar)
    assert (bar is not orig_bar)
    assert (bar.__name__ == u'bar')

What's a good function header?
assistant
#Here's a good function header.

def test_wraps_keep_orig_name():