human
I wrote the below code

    def fin_remove_replay_file():
        if os.path.exists(replay_file):
            os.remove(replay_file)
    request.addfinalizer(fin_remove_replay_file)

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

@pytest.fixture(autouse=True)
def remove_replay_dump(request, replay_file):