human
I wrote the below code

    def decorator(func):
        def wrapper(*args, **kwargs):
            app = _get_test_app()
            app.get('/', extra_environ={key: value})
            try:
                return_value = func(*args, **kwargs)
            finally:
                app.get('/', extra_environ={key: ''})
            return return_value
        return nose.tools.make_decorator(func)(wrapper)
    return decorator

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

def set_extra_environ(key, value):