| commit | 4ab791497cf4829cc9a6fab1dda0b60bd1eae376 | [log] [tgz] |
|---|---|---|
| author | Anthony Sottile <asottile@umich.edu> | Sun Jan 21 15:31:23 2018 -0800 |
| committer | Anthony Sottile <asottile@umich.edu> | Sun Jan 21 15:31:23 2018 -0800 |
| tree | d012e4def9691d5221ef13e723437b0ea7edb933 | |
| parent | 0ddb3b8527b29e56ce97e5e8308b7a871f53b3a7 [diff] [blame] |
Replace deprecated yield_fixture with fixture Committed via https://github.com/asottile/all-repos
diff --git a/tests/conftest.py b/tests/conftest.py index 87fec70..da206cb 100644 --- a/tests/conftest.py +++ b/tests/conftest.py
@@ -7,7 +7,7 @@ from pre_commit_hooks.util import cmd_output -@pytest.yield_fixture +@pytest.fixture def temp_git_dir(tmpdir): git_dir = tmpdir.join('gits') cmd_output('git', 'init', '--', git_dir.strpath)