# HG changeset patch # User Patrick Mezard # Date 1264017059 -3600 # Node ID 60bf433647e71960e72032a4b9b81c3361400dbe # Parent 839734dfb5c7862f89fdfb0acb32e5bf87351d0d test_util: fix Windows test URLs diff --git a/tests/test_util.py b/tests/test_util.py --- a/tests/test_util.py +++ b/tests/test_util.py @@ -88,7 +88,7 @@ def filtermanifest(manifest): manifest) def fileurl(path): - path = os.path.abspath(path) + path = os.path.abspath(path).replace(os.sep, '/') drive, path = os.path.splitdrive(path) if drive: drive = '/' + drive