py3: make test-basic.t pass on Python 3
authorYuya Nishihara <yuya@tcha.org>
Fri, 02 Mar 2018 22:38:09 -0500
changeset 36638 159b04de5fb0
parent 36637 e8c361316803
child 36639 334da951a50b
py3: make test-basic.t pass on Python 3
contrib/python3-whitelist
tests/test-basic.t
--- a/contrib/python3-whitelist	Fri Mar 02 22:35:20 2018 -0500
+++ b/contrib/python3-whitelist	Fri Mar 02 22:38:09 2018 -0500
@@ -8,6 +8,7 @@
 test-automv.t
 test-backout.t
 test-backwards-remove.t
+test-basic.t
 test-bheads.t
 test-bisect2.t
 test-bookmarks-current.t
--- 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