diff -r b0ffcb540357 -r 3f7bbce8fbaa tests/hghave.py --- 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