##// END OF EJS Templates
policy: try and always have a bytes for module policy...
policy: try and always have a bytes for module policy debuginstall now runs cleanly in Python 3.

File last commit:

r31308:62939e01 default
r31308:62939e01 default
Show More
test-check-py3-commands.t
25 lines | 807 B | text/troff | Tads3Lexer
/ tests / test-check-py3-commands.t
Pulkit Goyal
py3: test to check which commands run...
r30129 #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
Pulkit Goyal
py3: make keys of keyword arguments strings...
r30586 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Pulkit Goyal
py3: test to check which commands run...
r30129 debuginstall
Augie Fackler
policy: try and always have a bytes for module policy...
r31308 no problems detected
Augie Fackler
py3: add a test that proves %include and missing-extension code works
r31304
$ cat > included-hgrc <<EOF
> [extensions]
> babar = imaginary_elephant
> EOF
$ cat >> $HGRCPATH <<EOF
> %include $TESTTMP/included-hgrc
> EOF
$ $PYTHON3 `which hg` version | tail -1
*** failed to import extension babar from imaginary_elephant: *: 'imaginary_elephant' (glob)
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.