Mercurial > hg
diff tests/test-i18n.t @ 36645:7bc33d677c0c
tests: fix various test-check-module-imports.t violations
Somehow these are only caught when running the test under Python 3.
Differential Revision: https://phab.mercurial-scm.org/D2580
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 03 Mar 2018 09:35:59 -0500 |
parents | a88166a4dce3 |
children | 5abc47d4ca6b |
line wrap: on
line diff
--- a/tests/test-i18n.t Tue Feb 27 00:33:46 2018 +0530 +++ b/tests/test-i18n.t Sat Mar 03 09:35:59 2018 -0500 @@ -54,8 +54,8 @@ Check i18n cache isn't reused after encoding change: $ cat > $TESTTMP/encodingchange.py << EOF + > from mercurial.i18n import _ > from mercurial import encoding, registrar - > from mercurial.i18n import _ > cmdtable = {} > command = registrar.command(cmdtable) > @command(b'encodingchange', norepo=True)