mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue 19734: better diagnostics for test_venv failures
This commit is contained in:
parent
fcafe43320
commit
6fd12f2b33
2 changed files with 18 additions and 6 deletions
|
@ -237,9 +237,9 @@ class EnvBuilder:
|
|||
# We run ensurepip in isolated mode to avoid side effects from
|
||||
# environment vars, the current directory and anything else
|
||||
# intended for the global Python environment
|
||||
cmd = [context.env_exe, '-Im', 'ensurepip', '--upgrade',
|
||||
cmd = [context.env_exe, '-m', 'ensurepip', '--upgrade',
|
||||
'--default-pip']
|
||||
subprocess.check_output(cmd)
|
||||
subprocess.check_output(cmd, stderr=subprocess.STDOUT)
|
||||
|
||||
def setup_scripts(self, context):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue