From: Hans-Peter Jansen Date: 2017-02-14 23:45:55+0100 Subject: when build for python3, call python3 Index: b/tests/test_cookiecutter_invocation.py =================================================================== --- a/tests/test_cookiecutter_invocation.py +++ b/tests/test_cookiecutter_invocation.py @@ -18,7 +18,7 @@ from cookiecutter import utils def test_should_raise_error_without_template_arg(capfd): with pytest.raises(subprocess.CalledProcessError): - subprocess.check_call(['python', '-m', 'cookiecutter.cli']) + subprocess.check_call(['python3', '-m', 'cookiecutter.cli']) _, err = capfd.readouterr() exp_message = 'Error: Missing argument "template".'