[PATCH 4 of 4] test-basic: make it work on Python 3
Yuya Nishihara
yuya at tcha.org
Wed Oct 4 10:53:57 EDT 2017
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1506924033 -3600
# Mon Oct 02 07:00:33 2017 +0100
# Node ID e6986d59d73bb743c87856bf5ea1a4d869569b8f
# Parent fecbf1e8aa17474f448e126697fe287e44c92664
test-basic: make it work on Python 3
diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -1,6 +1,7 @@
test-addremove.t
test-ancestor.py
test-backwards-remove.t
+test-basic.t
test-bheads.t
test-bisect2.t
test-bookmarks-merge.t
diff --git a/tests/test-basic.t b/tests/test-basic.t
--- a/tests/test-basic.t
+++ b/tests/test-basic.t
@@ -66,7 +66,7 @@ Verify that updating to revision 0 via c
$ 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
More information about the Mercurial-devel
mailing list