py3: make test-bisect.t bytes-safe
authorYuya Nishihara <yuya@tcha.org>
Tue, 06 Mar 2018 07:11:24 -0600
changeset 36829 4eb3bf227ce7
parent 36828 80da79b6fbe4
child 36830 71f189941791
py3: make test-bisect.t bytes-safe
contrib/python3-whitelist
tests/test-bisect.t
--- a/contrib/python3-whitelist	Tue Mar 06 07:10:50 2018 -0600
+++ b/contrib/python3-whitelist	Tue Mar 06 07:11:24 2018 -0600
@@ -16,6 +16,7 @@
 test-backwards-remove.t
 test-basic.t
 test-bheads.t
+test-bisect.t
 test-bisect2.t
 test-blackbox.t
 test-bookmarks-current.t
--- a/tests/test-bisect.t	Tue Mar 06 07:10:50 2018 -0600
+++ b/tests/test-bisect.t	Tue Mar 06 07:11:24 2018 -0600
@@ -465,8 +465,8 @@
   > from __future__ import absolute_import
   > import sys
   > from mercurial import hg, ui as uimod
-  > repo = hg.repository(uimod.ui.load(), '.')
-  > if repo['.'].rev() < 6:
+  > repo = hg.repository(uimod.ui.load(), b'.')
+  > if repo[b'.'].rev() < 6:
   >     sys.exit(1)
   > EOF
   $ chmod +x script.py