mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
parent
26e60fa333
commit
b81c9802ae
28 changed files with 58 additions and 58 deletions
|
|
@ -10,7 +10,7 @@ def test_norm_version_expanduser():
|
|||
home = os.path.expanduser('~')
|
||||
if os.name == 'nt': # pragma: no cover (nt)
|
||||
path = r'~\python343'
|
||||
expected_path = r'{0}\python343'.format(home)
|
||||
expected_path = r'{}\python343'.format(home)
|
||||
else: # pragma: no cover (non-nt)
|
||||
path = '~/.pyenv/versions/3.4.3/bin/python'
|
||||
expected_path = home + '/.pyenv/versions/3.4.3/bin/python'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue