Mercurial > hg
diff contrib/python3-whitelist @ 41623:7c4e205f71ca
py3: use bytes.startswith() instead of comparing with bytes[0]
This is because bytes[0] will return the ascii value and comparison will fail.
This makes test-commit-interactive-curses.t pass on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D5879
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Thu, 07 Feb 2019 16:44:43 +0300 |
parents | b436059c1cca |
children | 2dcb637aaf10 |
line wrap: on
line diff
--- a/contrib/python3-whitelist Fri Feb 08 22:57:26 2019 -0800 +++ b/contrib/python3-whitelist Thu Feb 07 16:44:43 2019 +0300 @@ -89,6 +89,7 @@ test-close-head.t test-commandserver.t test-commit-amend.t +test-commit-interactive-curses.t test-commit-interactive.t test-commit-multiple.t test-commit-unresolved.t