diff options
Diffstat (limited to 'Lib/test/test_venv.py')
-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 |