Issue #19734: Also run pip version check in isolated mode
This commit is contained in:
parent
091167c1ca
commit
1d1d834328
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue