Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improving test platform independence
  • Loading branch information
ccrook committed May 24, 2013
1 parent 83445af commit 2c55326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsdelimitedtextprovider.py
Expand Up @@ -155,7 +155,7 @@ def delimitedTextData( testname, filename, requests, verbose, **params ):
basename = os.path.basename(filepath)
if not basename.startswith('test'):
basename='file'
uri = uri.replace(filepath,basename)
uri = re.sub(r'^file\:\/\/[^\?]*','file://'+basename,uri)
fields = []
data = {}
if layer.isValid():
Expand Down

0 comments on commit 2c55326

Please sign in to comment.