mercurial/pathutil.py
changeset 34131 0fa781320203
parent 33649 377e8ddaebef
child 34254 cd022a11ec83
--- a/mercurial/pathutil.py	Thu Sep 07 22:36:54 2017 +0900
+++ b/mercurial/pathutil.py	Sun Sep 03 14:32:11 2017 +0900
@@ -203,9 +203,9 @@
 
     See also issue3033 for detail about need of this function.
 
-    >>> normasprefix('/foo/bar').replace(os.sep, '/')
+    >>> normasprefix(b'/foo/bar').replace(os.sep, b'/')
     '/foo/bar/'
-    >>> normasprefix('/').replace(os.sep, '/')
+    >>> normasprefix(b'/').replace(os.sep, b'/')
     '/'
     '''
     d, p = os.path.splitdrive(path)