Mercurial > public > mercurial-scm > hg-stable
diff tests/test-py3-commands.t @ 32639:6df193b5c437
py3: implement __bytes__() on most of our exception classes
We store bytes in exc.args, which should be translated to a byte string
without encode/decode dance.
IOError subclasses are unchanged for now. We'll need to decide how our
IOErrors should be caught.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 01 Jun 2017 22:43:24 +0900 |
parents | c9318beb7c1a |
children | 01a95cbbff56 |
line wrap: on
line diff
--- a/tests/test-py3-commands.t Thu Jun 01 22:24:15 2017 +0900 +++ b/tests/test-py3-commands.t Thu Jun 01 22:43:24 2017 +0900 @@ -151,6 +151,11 @@ options ([+] can be repeated): (some details hidden, use --verbose to show complete help) + $ $PYTHON3 $HGBIN help -k notopic + abort: no matches + (try 'hg help' for a list of topics) + [255] + Prove the repo is valid using the Python 2 `hg`: $ hg verify checking changesets