Mercurial > hg-stable
changeset 30129:d69d86e7d6c8
py3: test to check which commands run
This test helps us to keep track on the commands which runs to Python 3.
The full traceback is hidden. Thanks to Augie and Martijn to wrap it up
in four lines.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 13:59:20 +0200 |
parents | e37ee8367ab4 |
children | 7be610198360 |
files | tests/test-check-py3-commands.t |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-check-py3-commands.t Sun Oct 09 13:59:20 2016 +0200 @@ -0,0 +1,14 @@ +#require py3exe + +This test helps in keeping a track on which commands we can run on +Python 3 and see what kind of errors are coming up. +The full traceback is hidden to have a stable output. + + $ for cmd in version debuginstall ; do + > echo $cmd + > $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1 + > done + version + TypeError: str expected, not bytes + debuginstall + TypeError: str expected, not bytes