Mercurial > hg
comparison tests/test-bad-extension.t @ 40263:8cf459d8b111
py3: use py3 as the test tag, dropping the k
Differential Revision: https://phab.mercurial-scm.org/D5079
author | Martijn Pieters <mj@octobus.net> |
---|---|
date | Sat, 13 Oct 2018 10:09:12 +0200 |
parents | 772c1145bcef |
children | 943248e47864 |
comparison
equal
deleted
inserted
replaced
40262:c8f164061212 | 40263:8cf459d8b111 |
---|---|
55 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow | 55 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow |
56 Traceback (most recent call last): | 56 Traceback (most recent call last): |
57 Exception: bit bucket overflow | 57 Exception: bit bucket overflow |
58 *** failed to import extension badext2: No module named *badext2* (glob) | 58 *** failed to import extension badext2: No module named *badext2* (glob) |
59 Traceback (most recent call last): | 59 Traceback (most recent call last): |
60 ImportError: No module named badext2 (no-py3k !) | 60 ImportError: No module named badext2 (no-py3 !) |
61 ModuleNotFoundError: No module named 'hgext.badext2' (py3k !) | 61 ModuleNotFoundError: No module named 'hgext.badext2' (py3 !) |
62 Traceback (most recent call last): (py3k !) | 62 Traceback (most recent call last): (py3 !) |
63 ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3k !) | 63 ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3 !) |
64 Traceback (most recent call last): (py3k !) | 64 Traceback (most recent call last): (py3 !) |
65 ModuleNotFoundError: No module named 'badext2' (py3k !) | 65 ModuleNotFoundError: No module named 'badext2' (py3 !) |
66 | 66 |
67 names of extensions failed to load can be accessed via extensions.notloaded() | 67 names of extensions failed to load can be accessed via extensions.notloaded() |
68 | 68 |
69 $ cat <<EOF > showbadexts.py | 69 $ cat <<EOF > showbadexts.py |
70 > from mercurial import commands, extensions, registrar | 70 > from mercurial import commands, extensions, registrar |
100 debug.extensions: - invoking registered callbacks: 'baddocext' | 100 debug.extensions: - invoking registered callbacks: 'baddocext' |
101 debug.extensions: > callbacks completed in * (glob) | 101 debug.extensions: > callbacks completed in * (glob) |
102 debug.extensions: - loading extension: 'badext2' | 102 debug.extensions: - loading extension: 'badext2' |
103 debug.extensions: - could not import hgext.badext2 (No module named *badext2*): trying hgext3rd.badext2 (glob) | 103 debug.extensions: - could not import hgext.badext2 (No module named *badext2*): trying hgext3rd.badext2 (glob) |
104 Traceback (most recent call last): | 104 Traceback (most recent call last): |
105 ImportError: No module named badext2 (no-py3k !) | 105 ImportError: No module named badext2 (no-py3 !) |
106 ModuleNotFoundError: No module named 'hgext.badext2' (py3k !) | 106 ModuleNotFoundError: No module named 'hgext.badext2' (py3 !) |
107 debug.extensions: - could not import hgext3rd.badext2 (No module named *badext2*): trying badext2 (glob) | 107 debug.extensions: - could not import hgext3rd.badext2 (No module named *badext2*): trying badext2 (glob) |
108 Traceback (most recent call last): | 108 Traceback (most recent call last): |
109 ImportError: No module named badext2 (no-py3k !) | 109 ImportError: No module named badext2 (no-py3 !) |
110 ModuleNotFoundError: No module named 'hgext.badext2' (py3k !) | 110 ModuleNotFoundError: No module named 'hgext.badext2' (py3 !) |
111 Traceback (most recent call last): (py3k !) | 111 Traceback (most recent call last): (py3 !) |
112 ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3k !) | 112 ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3 !) |
113 *** failed to import extension badext2: No module named *badext2* (glob) | 113 *** failed to import extension badext2: No module named *badext2* (glob) |
114 Traceback (most recent call last): | 114 Traceback (most recent call last): |
115 ModuleNotFoundError: No module named 'hgext.badext2' (py3k !) | 115 ModuleNotFoundError: No module named 'hgext.badext2' (py3 !) |
116 Traceback (most recent call last): (py3k !) | 116 Traceback (most recent call last): (py3 !) |
117 ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3k !) | 117 ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3 !) |
118 Traceback (most recent call last): (py3k !) | 118 Traceback (most recent call last): (py3 !) |
119 ModuleNotFoundError: No module named 'badext2' (py3k !) | 119 ModuleNotFoundError: No module named 'badext2' (py3 !) |
120 ImportError: No module named badext2 (no-py3k !) | 120 ImportError: No module named badext2 (no-py3 !) |
121 debug.extensions: > loaded 2 extensions, total time * (glob) | 121 debug.extensions: > loaded 2 extensions, total time * (glob) |
122 debug.extensions: - loading configtable attributes | 122 debug.extensions: - loading configtable attributes |
123 debug.extensions: - executing uisetup hooks | 123 debug.extensions: - executing uisetup hooks |
124 debug.extensions: - running uisetup for 'gpg' | 124 debug.extensions: - running uisetup for 'gpg' |
125 debug.extensions: > uisetup for 'gpg' took * (glob) | 125 debug.extensions: > uisetup for 'gpg' took * (glob) |