Remove un-needed string-escape

This commit is contained in:
Daniel A. Wozniak 2018-04-26 11:28:25 -07:00
parent 708078b152
commit dcb6a22c00
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -300,7 +300,7 @@ class PipTestCase(TestCase, LoaderModuleMockMixin):
with patch.dict(pip.__salt__, {'cmd.run_all': mock}):
if salt.utils.is_windows():
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:
venv_path = '/test_env'
bin_path = os.path.join(venv_path, 'bin', 'pip')