changeset 36947:3f7bbce8fbaa

hghave: fix xdiff check on Python 3 Differential Revision: https://phab.mercurial-scm.org/D2845
author Augie Fackler <augie@google.com>
date Tue, 13 Mar 2018 18:05:49 -0400
parents b0ffcb540357
children bf73012877a4
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave.py	Tue Mar 13 18:04:37 2018 -0400
+++ b/tests/hghave.py	Tue Mar 13 18:05:49 2018 -0400
@@ -714,6 +714,6 @@
     try:
         from mercurial import policy
         bdiff = policy.importmod('bdiff')
-        return bdiff.xdiffblocks('', '') == [(0, 0, 0, 0)]
+        return bdiff.xdiffblocks(b'', b'') == [(0, 0, 0, 0)]
     except (ImportError, AttributeError):
         return False