human
I wrote the below code

    def _write(config, data, scope):
        config_yaml = tmpdir.join(scope, (config + '.yaml'))
        config_yaml.ensure()
        with config_yaml.open('w') as f:
            yaml.dump(data, f)
    return _write

What's a good function header?

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

@pytest.fixture()
def write_config_file(tmpdir):