--- a/mercurial/pathutil.py Sun Sep 17 12:23:16 2017 +0900
+++ b/mercurial/pathutil.py Sun Sep 17 12:26:42 2017 +0900
@@ -203,9 +203,9 @@
See also issue3033 for detail about need of this function.
- >>> normasprefix(b'/foo/bar').replace(os.sep, b'/')
+ >>> normasprefix(b'/foo/bar').replace(pycompat.ossep, b'/')
'/foo/bar/'
- >>> normasprefix(b'/').replace(os.sep, b'/')
+ >>> normasprefix(b'/').replace(pycompat.ossep, b'/')
'/'
'''
d, p = os.path.splitdrive(path)
--- a/tests/test-doctest.py Sun Sep 17 12:23:16 2017 +0900
+++ b/tests/test-doctest.py Sun Sep 17 12:26:42 2017 +0900
@@ -58,7 +58,7 @@
testmod('mercurial.mdiff')
testmod('mercurial.minirst')
testmod('mercurial.patch')
-testmod('mercurial.pathutil', py3=False) # py3: os.sep
+testmod('mercurial.pathutil')
testmod('mercurial.parser')
testmod('mercurial.pycompat')
testmod('mercurial.revsetlang')