Comments
Patch
@@ -203,9 +203,9 @@ def normasprefix(path):
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)
@@ -58,7 +58,7 @@ testmod('mercurial.match')
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')