diff -r a8dfa35a4130 -r ec9ed269edc3 tests/test-ancestor.py --- a/tests/test-ancestor.py Sat Jun 17 14:38:02 2017 +0530 +++ b/tests/test-ancestor.py Sat Jun 17 14:39:10 2017 +0530 @@ -225,7 +225,7 @@ def test_gca(): u = uimod.ui.load() for i, dag in enumerate(dagtests): - repo = hg.repository(u, 'gca%d' % i, create=1) + repo = hg.repository(u, b'gca%d' % i, create=1) cl = repo.changelog if not util.safehasattr(cl.index, 'ancestors'): # C version not available