# HG changeset patch # User Yuya Nishihara # Date 2018-03-03 12:59:20 # Node ID 6754d0c5e1b55ffd398a7b2b549411fb0910b52c # Parent edd3974bd50046eeea44c8205e6bf6837eea9d2b py3: make test-ancestors.py pass on Python 3 with C extensions # skip-blame just some b prefixes diff --git a/tests/test-ancestor.py b/tests/test-ancestor.py --- a/tests/test-ancestor.py +++ b/tests/test-ancestor.py @@ -220,9 +220,9 @@ def test_lazyancestors(): # 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()