Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
cookiecutter
fix-python-invocation-tests.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-python-invocation-tests.diff of Package cookiecutter
From: Hans-Peter Jansen <hpj@urpla.net> 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".'
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor