Mercurial > public > mercurial-scm > hg
view tests/test-check-py3-commands.t @ 30348:9df29b7c62cf
ui: explicitly open config files in binary mode
This has been working mostly accidentally, but now it works explicitly.
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 09 Oct 2016 09:17:49 -0400 |
parents | af7c60988f6e |
children | 954002426f78 |
line wrap: on
line source
#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: cannot use a string pattern on a bytes-like object debuginstall TypeError: cannot use a string pattern on a bytes-like object