Mercurial > hg-stable
changeset 36655:6754d0c5e1b5
py3: make test-ancestors.py pass on Python 3 with C extensions
# skip-blame just some b prefixes
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 03 Mar 2018 07:59:20 -0500 |
parents | edd3974bd500 |
children | 418f9ea20c35 |
files | tests/test-ancestor.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-ancestor.py Sat Mar 03 07:24:25 2018 -0500 +++ b/tests/test-ancestor.py Sat Mar 03 07:59:20 2018 -0500 @@ -220,9 +220,9 @@ # DAGs that have been known to be problematic, and, optionally, known pairs # of revisions and their expected ancestor list. dagtests = [ - ('+2*2*2/*3/2', {}), - ('+3*3/*2*2/*4*4/*4/2*4/2*2', {}), - ('+2*2*/2*4*/4*/3*2/4', {(6, 7): [3, 5]}), + (b'+2*2*2/*3/2', {}), + (b'+3*3/*2*2/*4*4/*4/2*4/2*2', {}), + (b'+2*2*/2*4*/4*/3*2/4', {(6, 7): [3, 5]}), ] def test_gca(): u = uimod.ui.load()