py3: make test-ancestors.py pass on Python 3 with C extensions
authorYuya Nishihara <yuya@tcha.org>
Sat, 03 Mar 2018 07:59:20 -0500
changeset 36626 6754d0c5e1b5
parent 36625 edd3974bd500
child 36627 418f9ea20c35
py3: make test-ancestors.py pass on Python 3 with C extensions # skip-blame just some b prefixes
tests/test-ancestor.py
--- 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()