--- a/tests/test-pager-legacy.t Sat May 13 17:53:55 2017 +0900
+++ b/tests/test-pager-legacy.t Sat Jan 09 23:07:20 2016 +0900
@@ -214,9 +214,9 @@
Pager should not override the exit code of other commands
$ cat >> $TESTTMP/fortytwo.py <<'EOF'
- > from mercurial import cmdutil, commands
+ > from mercurial import registrar, commands
> cmdtable = {}
- > command = cmdutil.command(cmdtable)
+ > command = registrar.command(cmdtable)
> @command('fortytwo', [], 'fortytwo', norepo=True)
> def fortytwo(ui, *opts):
> ui.write('42\n')