sapling/tests/test-check-py3-commands.t
Augie Fackler 915e3e24fa config: mark parser regexes as bytes explicitly
r-strings are not transformed into bytes by our source transformer magic.
2016-10-09 09:25:39 -04:00

15 lines
425 B
Perl

#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
NameError: name 'basestring' is not defined
debuginstall
NameError: name 'basestring' is not defined