Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8:CentOS:7.3
python-setuptools_scm
no-generic-python.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-generic-python.patch of Package python-setuptools_scm
diff --git a/testing/test_regressions.py b/testing/test_regressions.py index 4a067b3..9d24d61 100644 --- a/testing/test_regressions.py +++ b/testing/test_regressions.py @@ -18,16 +18,16 @@ def test_pkginfo_noscmroot(tmpdir, monkeypatch): 'from setuptools import setup;' 'setup(use_scm_version={"root": ".."})') - _, stderr, ret = do_ex('python setup.py --version', p) + _, stderr, ret = do_ex((sys.executable, 'setup.py', '--version'), p) assert 'setuptools-scm was unable to detect version for' in stderr assert ret == 1 p.join("PKG-INFO").write('Version: 1.0') - res = do('python setup.py --version', p) + res = do((sys.executable, 'setup.py', '--version'), p) assert res == '1.0' do('git init', p.dirpath()) - res = do('python setup.py --version', p) + res = do((sys.executable, 'setup.py', '--version'), p) assert res == '1.0' @@ -64,7 +64,7 @@ setup(use_scm_version=vcfg) ''') p.join("PKG-INFO").write('Version: 1.0') - res = do('python setup.py --version', p) + res = do((sys.executable, 'setup.py', '--version'), p) assert res == '1.0'
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