Issue #19734: Also run pip version check in isolated mode

This commit is contained in:
Nick Coghlan 2013-11-24 16:49:20 +10:00
parent 091167c1ca
commit 1d1d834328
1 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ class EnsurePipTest(BaseTest):
msg = "{}\n\n**Subprocess Output**\n{}".format(exc, details)
self.fail(msg)
envpy = os.path.join(os.path.realpath(self.env_dir), self.bindir, self.exe)
cmd = [envpy, '-m', 'pip', '--version']
cmd = [envpy, '-Im', 'pip', '--version']
p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out, err = p.communicate()