Mercurial > hg
changeset 31304:dab92f3dbd98
py3: add a test that proves %include and missing-extension code works
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 03 Mar 2017 13:52:08 -0500 |
parents | 90f439823b99 |
children | dc9842a7017c |
files | tests/test-check-py3-commands.t |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-py3-commands.t Fri Mar 03 14:08:02 2017 -0500 +++ b/tests/test-check-py3-commands.t Fri Mar 03 13:52:08 2017 -0500 @@ -12,3 +12,14 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. debuginstall TypeError: Can't convert 'bytes' object to str implicitly + + $ 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.