mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 12:06:53 +00:00
Don't use LocalPath.strpath
This commit is contained in:
parent
e37b2795ff
commit
f35bfed79e
23 changed files with 69 additions and 69 deletions
|
|
@ -6,5 +6,5 @@ from pre_commit_hooks.util import cmd_output
|
|||
@pytest.fixture
|
||||
def temp_git_dir(tmpdir):
|
||||
git_dir = tmpdir.join('gits')
|
||||
cmd_output('git', 'init', '--', git_dir.strpath)
|
||||
cmd_output('git', 'init', '--', str(git_dir))
|
||||
yield git_dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue