From patchwork Sat Mar 3 13:27:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [10, of, 11] py3: make test-ancestors.py pass on Python 3 with C extensions From: Yuya Nishihara X-Patchwork-Id: 28775 Message-Id: <0fd4e00b52b665037a69.1520083663@mimosa> To: mercurial-devel@mercurial-scm.org Date: Sat, 03 Mar 2018 08:27:43 -0500 # HG changeset patch # User Yuya Nishihara # Date 1520081960 18000 # Sat Mar 03 07:59:20 2018 -0500 # Node ID 0fd4e00b52b665037a69d7204247f45447188335 # Parent 5e6c27a228b656f730cf0afd70e864ec96fc29c2 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()