human
I wrote the below code

    def create_app(info):
        raise Exception('oh    no')
        return Flask('flaskgroup')
    @click.group(cls=FlaskGroup, create_app=create_app)
    def cli(**params):
        pass
    result = runner.invoke(cli, ['--help'])
    assert (result.exit_code == 0)
    assert ('Exception:    oh    no' in result.output)
    assert ('Traceback' in result.output)

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

def test_print_exceptions(runner):