Mercurial > public > mercurial-scm > hg-stable
diff tests/test-extdiff.t @ 36301:be5a6fe3643a
py3: make test-extdiff.t pass on Python 3
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Feb 2018 18:20:15 +0900 |
parents | d83fc41dabf3 |
children | 5abc47d4ca6b |
line wrap: on
line diff
--- a/tests/test-extdiff.t Sat Feb 17 18:15:37 2018 +0900 +++ b/tests/test-extdiff.t Sat Feb 17 18:20:15 2018 +0900 @@ -424,7 +424,8 @@ Test handling of non-ASCII paths in generated docstrings (issue5301) - >>> open("u", "w").write("\xa5\xa5") + >>> with open("u", "wb") as f: + ... n = f.write(b"\xa5\xa5") $ U=`cat u` $ HGPLAIN=1 hg --config hgext.extdiff= --config extdiff.cmd.td=hi help -k xyzzy