mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Remove un-needed string-escape
This commit is contained in:
parent
708078b152
commit
dcb6a22c00
@ -300,7 +300,7 @@ class PipTestCase(TestCase, LoaderModuleMockMixin):
|
|||||||
with patch.dict(pip.__salt__, {'cmd.run_all': mock}):
|
with patch.dict(pip.__salt__, {'cmd.run_all': mock}):
|
||||||
if salt.utils.is_windows():
|
if salt.utils.is_windows():
|
||||||
venv_path = 'c:\\test_env'
|
venv_path = 'c:\\test_env'
|
||||||
bin_path = os.path.join(venv_path, 'Scripts', 'pip.exe').encode('string-escape')
|
bin_path = os.path.join(venv_path, 'Scripts', 'pip.exe')
|
||||||
else:
|
else:
|
||||||
venv_path = '/test_env'
|
venv_path = '/test_env'
|
||||||
bin_path = os.path.join(venv_path, 'bin', 'pip')
|
bin_path = os.path.join(venv_path, 'bin', 'pip')
|
||||||
|
Loading…
Reference in New Issue
Block a user