Mercurial > public > mercurial-scm > hg
comparison tests/test-check-py3-commands.t @ 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 | 2d555d753f0e |
children | 62939e0148f1 |
comparison
equal
deleted
inserted
replaced
31303:90f439823b99 | 31304:dab92f3dbd98 |
---|---|
10 > done | 10 > done |
11 version | 11 version |
12 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 12 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
13 debuginstall | 13 debuginstall |
14 TypeError: Can't convert 'bytes' object to str implicitly | 14 TypeError: Can't convert 'bytes' object to str implicitly |
15 | |
16 $ cat > included-hgrc <<EOF | |
17 > [extensions] | |
18 > babar = imaginary_elephant | |
19 > EOF | |
20 $ cat >> $HGRCPATH <<EOF | |
21 > %include $TESTTMP/included-hgrc | |
22 > EOF | |
23 $ $PYTHON3 `which hg` version | tail -1 | |
24 *** failed to import extension babar from imaginary_elephant: *: 'imaginary_elephant' (glob) | |
25 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |