[Python-checkins] cpython: Issue #19734: Also run pip version check in isolated mode
nick.coghlan
python-checkins at python.org
Sun Nov 24 07:49:32 CET 2013
http://hg.python.org/cpython/rev/124e51c19e4f
changeset: 87488:124e51c19e4f
user: Nick Coghlan <ncoghlan at gmail.com>
date: Sun Nov 24 16:49:20 2013 +1000
summary:
Issue #19734: Also run pip version check in isolated mode
files:
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
--- a/Lib/test/test_venv.py
+++ b/Lib/test/test_venv.py
@@ -304,9 +304,9 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list