# HG changeset patch # User Yuya Nishihara # Date 2018-03-06 13:11:24 # Node ID 4eb3bf227ce73c32ec3d7b10c86d030d29267610 # Parent 80da79b6fbe4f9ce4bee69847d16dc972d98330a py3: make test-bisect.t bytes-safe diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -16,6 +16,7 @@ test-backout.t test-backwards-remove.t test-basic.t test-bheads.t +test-bisect.t test-bisect2.t test-blackbox.t test-bookmarks-current.t diff --git a/tests/test-bisect.t b/tests/test-bisect.t --- a/tests/test-bisect.t +++ b/tests/test-bisect.t @@ -465,8 +465,8 @@ test bisecting command > 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