diff -r ebc471ce9fad -r 5fd63bca43a4 tests/test-fastannotate-revmap.py --- a/tests/test-fastannotate-revmap.py Fri Dec 14 19:21:28 2018 +0300 +++ b/tests/test-fastannotate-revmap.py Fri Dec 14 19:30:20 2018 +0300 @@ -14,7 +14,7 @@ xrange = range def genhsh(i): - return chr(i) + b'\0' * 19 + return pycompat.bytechr(i) + b'\0' * 19 def gettemppath(): fd, path = tempfile.mkstemp()