Mercurial > public > mercurial-scm > hg
diff tests/test-fastannotate-revmap.py @ 40946:5fd63bca43a4
py3: use pycompat.bytechr() instead of chr() in test-fastannotate-revmap.py
This makes the test pass on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D5422
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Fri, 14 Dec 2018 19:30:20 +0300 |
parents | aa95fd0257df |
children | 0fea133780bf |
line wrap: on
line diff
--- 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()