diff tests/test-basic.t @ 36638:159b04de5fb0

py3: make test-basic.t pass on Python 3
author Yuya Nishihara <yuya@tcha.org>
date Fri, 02 Mar 2018 22:38:09 -0500
parents 48a6b1a22ccf
children 5890e5872f36
line wrap: on
line diff
--- a/tests/test-basic.t	Fri Mar 02 22:35:20 2018 -0500
+++ b/tests/test-basic.t	Fri Mar 02 22:38:09 2018 -0500
@@ -59,7 +59,7 @@
   $ cat <<EOF > update_to_rev0.py
   > from mercurial import ui, hg, commands
   > myui = ui.ui.load()
-  > repo = hg.repository(myui, path='.')
+  > repo = hg.repository(myui, path=b'.')
   > commands.update(myui, repo, rev=0)
   > EOF
   $ hg up null