human
I wrote the below code

    class ItemThatRaises(object, ):
        nodeid = 'item_that_raises'
        def runtest(self):
            raise IndexError('TEST')
    try:
        runner.pytest_runtest_call(ItemThatRaises())
    except IndexError:
        pass
    assert (sys.last_type is IndexError)
    assert (sys.last_value.args[0] == 'TEST')
    assert sys.last_traceback

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

def test_store_except_info_on_eror():