Skip to content

Commit

Permalink
Bug 1504308 - [mach] Pass path to Python interpreter to python-tests.…
Browse files Browse the repository at this point in the history
… r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D25760

--HG--
extra : moz-landing-system : lando
  • Loading branch information
whimboo committed Apr 2, 2019
1 parent 2188321 commit 75bafbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mach_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def python(self, no_virtualenv, exec_file, args):
action='store_true',
help='Verbose output.')
@CommandArgument('--python',
default='2.7',
help='Version of Python for Pipenv to use. When given a '
'Python version, Pipenv will automatically scan your '
'system for a Python that matches that given version.')
Expand Down Expand Up @@ -109,6 +108,7 @@ def run_python_tests(self,
jobs=None,
python=None,
**kwargs):
python = python or self.virtualenv_manager.python_path
self.activate_pipenv(pipfile=None, populate=True, python=python)

if test_objects is None:
Expand Down

0 comments on commit 75bafbf

Please sign in to comment.