Skip to content

Use sys.executable when invoking python interpreter from tests#1221

Merged
luzfcb merged 1 commit intocookiecutter:masterfrom
vincentbernat:fix/tests-no-python
Sep 2, 2019
Merged

Use sys.executable when invoking python interpreter from tests#1221
luzfcb merged 1 commit intocookiecutter:masterfrom
vincentbernat:fix/tests-no-python

Conversation

@vincentbernat
Copy link
Copy Markdown
Contributor

When we only have python3 installed, the test for missing argument is
failing because there is no "python" executable. Use sys.executable
instead. Also set environment correctly, like done in 7024d3b.

When we only have python3 installed, the test for missing argument is
failing because there is no "python" executable. Use `sys.executable`
instead. Also set environment correctly, like done in 7024d3b.
@insspb
Copy link
Copy Markdown
Member

insspb commented Sep 2, 2019

LGTM

Copy link
Copy Markdown
Contributor

@luzfcb luzfcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @vincentbernat Thanks.

@luzfcb luzfcb merged commit beb6e48 into cookiecutter:master Sep 2, 2019
hackebrot added a commit that referenced this pull request Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants