Merge pull request #47335 from dwoz/pip_test_fix

Remove un-needed string-escape
This commit is contained in:
Daniel Wozniak 2018-04-26 14:49:26 -07:00 committed by GitHub
commit b221860151
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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')