Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:py-backports
python-iniparse
python3117.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3117.patch of Package python-iniparse
Index: iniparse-0.5/tests/test_compat.py =================================================================== --- iniparse-0.5.orig/tests/test_compat.py +++ iniparse-0.5/tests/test_compat.py @@ -1,3 +1,4 @@ +import os from iniparse import compat as ConfigParser from io import StringIO try: @@ -263,6 +264,8 @@ class TestCaseBase(unittest.TestCase): def test_read_returns_file_list(self): file1 = test_support.findfile("cfgparser.1") + if not os.path.exists(file1): + file1 = test_support.findfile("configdata/cfgparser.1") # check when we pass a mix of readable and non-readable files: cf = self.newconfig() parsed_files = cf.read([file1, "nonexistant-file"])
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