Skip to content

Commit

Permalink
Improving test platform independence
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.