# HG changeset patch # User Augie Fackler # Date 2017-03-03 18:52:08 # Node ID dab92f3dbd98879f9556c44db32ee6ac33800cc1 # Parent 90f439823b992fbd6dba1bdbe3c81eeb8dda34c7 py3: add a test that proves %include and missing-extension code works diff --git a/tests/test-check-py3-commands.t b/tests/test-check-py3-commands.t --- a/tests/test-check-py3-commands.t +++ b/tests/test-check-py3-commands.t @@ -12,3 +12,14 @@ The full traceback is hidden to have a s 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.