mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 05:14:18 +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
|
|
@ -35,7 +35,7 @@ def test_integration(input_s, expected_retval, output, tmpdir):
|
|||
path = tmpdir.join('file.txt')
|
||||
path.write_binary(input_s)
|
||||
|
||||
ret = main([path.strpath])
|
||||
ret = main([str(path)])
|
||||
file_output = path.read_binary()
|
||||
|
||||
assert file_output == output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue