human
I wrote the below code

    def fin_remove_test_dir():
        if os.path.exists(u'test_copy_without_render'):
            utils.rmtree(u'test_copy_without_render')
    request.addfinalizer(fin_remove_test_dir)

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

@pytest.fixture(scope=u'function')
def remove_test_dir(request):