diff tests/test-url.py @ 15452:de7e2fba4326

util: don't encode ':' in url paths ':' has no special meaning in paths, so there is no need for encoding it. Not encoding ':' makes it easier to test on windows.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 07 Nov 2011 03:25:10 +0100
parents 474279be5add
children 646759147717
line wrap: on
line diff
--- a/tests/test-url.py	Mon Nov 07 03:25:10 2011 +0100
+++ b/tests/test-url.py	Mon Nov 07 03:25:10 2011 +0100
@@ -219,7 +219,7 @@
     >>> u
     <url scheme: 'file', path: 'f:oo/bar/baz'>
     >>> str(u)
-    'file:f%3Aoo/bar/baz'
+    'file:f:oo/bar/baz'
     >>> u.localpath()
     'f:oo/bar/baz'