# HG changeset patch # User Yuya Nishihara # Date 2018-03-03 03:38:09 # Node ID 159b04de5fb0fff6a154db3f7611b7766078cfc7 # Parent e8c3613168039b5152c7c3caf03d26662c56b72d py3: make test-basic.t pass on Python 3 diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -8,6 +8,7 @@ test-annotate.py test-automv.t test-backout.t test-backwards-remove.t +test-basic.t test-bheads.t test-bisect2.t test-bookmarks-current.t diff --git a/tests/test-basic.t b/tests/test-basic.t --- a/tests/test-basic.t +++ b/tests/test-basic.t @@ -59,7 +59,7 @@ Verify that updating to revision 0 via c $ cat < 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