diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2013-11-24 06:49:20 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2013-11-24 06:49:20 (GMT) |
commit | 1d1d8343286cb09b43e333cd96b4061ef18a1b3d (patch) | |
tree | 3d4893787d4d003a75129ef3e243447244032edb | |
parent | 091167c1ca513d74c7a146d6a527e7b8b07ae7e8 (diff) | |
download | cpython-1d1d8343286cb09b43e333cd96b4061ef18a1b3d.zip cpython-1d1d8343286cb09b43e333cd96b4061ef18a1b3d.tar.gz cpython-1d1d8343286cb09b43e333cd96b4061ef18a1b3d.tar.bz2 |
Issue #19734: Also run pip version check in isolated mode
-rw-r--r-- | Lib/test/test_venv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py index ea49f6e..f53eb37 100644 --- a/Lib/test/test_venv.py +++ b/Lib/test/test_venv.py @@ -304,9 +304,9 @@ 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) + stderr=subprocess.PIPE) out, err = p.communicate() # We force everything to text, so unittest gives the detailed diff # if we get unexpected results |