tests/test-check-py3-commands.t
author Stanislau Hlebik <stash@fb.com>
Wed, 14 Dec 2016 09:53:56 -0800
changeset 30589 182cacaa4c32
parent 30586 2d555d753f0e
child 31304 dab92f3dbd98
permissions -rw-r--r--
cg1packer: fix `compressed` method `cg1packer.compressed()` returns True even if `self._type` is 'UN'. This patch fixes it.

#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
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  debuginstall
  TypeError: Can't convert 'bytes' object to str implicitly