# HG changeset patch # User Augie Fackler # Date 1488567128 18000 # Node ID dab92f3dbd98879f9556c44db32ee6ac33800cc1 # Parent 90f439823b992fbd6dba1bdbe3c81eeb8dda34c7 py3: add a test that proves %include and missing-extension code works diff -r 90f439823b99 -r dab92f3dbd98 tests/test-check-py3-commands.t --- 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 < [extensions] + > babar = imaginary_elephant + > EOF + $ cat >> $HGRCPATH < %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.