mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
9d833da676
keys of keyword arguments on Python 3 has to be string. We are dealing with bytes in our codebase so the keys are also bytes. Done that using pycompat.strkwargs(). Also after this patch, `hg version` now runs on Python 3.5. Hurray!
15 lines
471 B
Perl
15 lines
471 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
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
debuginstall
|
|
TypeError: Can't convert 'bytes' object to str implicitly
|