Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
python3-check-manifest.29613
executable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File executable.patch of Package python3-check-manifest.29613
--- tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/tests.py +++ b/tests.py @@ -2,6 +2,7 @@ import codecs import doctest import locale import os +import os.path import subprocess import sys import tarfile @@ -1368,9 +1369,11 @@ class TestCheckManifest(unittest.TestCas # https://github.com/mgedmin/check-manifest/issues/57 # NB: this test assumes you have a 'python' executable somewhere # in your path. + # Don't assume, make sure + py_exec = os.path.basename(sys.executable) from check_manifest import check_manifest subdir = self._create_repo_with_code_in_subdir() - self.assertTrue(check_manifest(subdir, python='python')) + self.assertTrue(check_manifest(subdir, python=py_exec)) def test_suggestions(self): from check_manifest import check_manifest
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