Fix ansible-test virtualenv use in import test.

(cherry picked from commit 998badbda5)
pull/45282/head
Matt Clay 6 years ago
parent e4c96f11f5
commit 37f730790e

@ -67,7 +67,9 @@ class ImportTest(SanityMultipleVersion):
remove_tree(virtual_environment_path) remove_tree(virtual_environment_path)
cmd = ['virtualenv', virtual_environment_path, '--python', find_python(python_version), '--no-setuptools', '--no-wheel'] python = find_python(python_version)
cmd = [python, '-m', 'virtualenv', virtual_environment_path, '--python', python, '--no-setuptools', '--no-wheel']
if not args.coverage: if not args.coverage:
cmd.append('--no-pip') cmd.append('--no-pip')

Loading…
Cancel
Save