human
Here's a good function header given the following:
I wrote the below code

    import sys
    def foo():
        some_exception_raising_code()
    try:
        try:
            foo()
        except:
            excinfo1 = sys.exc_info()[2]
            exc1_list = []
            while excinfo1:
                exc1_list.append((excinfo1.tb_frame.f_code.co_filename, excinfo1.tb_frame.f_code.co_name, excinfo1.tb_frame.f_lineno))
                excinfo1 = excinfo1.tb_next
            raise
    except Exception as e:
        excinfo2 = sys.exc_info()[2]
        exc2_list = []
        while excinfo2:
            exc2_list.append((excinfo2.tb_frame.f_code.co_filename, excinfo2.tb_frame.f_code.co_name, excinfo2.tb_frame.f_lineno))
            excinfo2 = excinfo2.tb_next
        Assert((len(exc2_list) >= 2))

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

def test_reraise_backtrace_cp20051():