diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -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