tests/test-pager-legacy.t
changeset 32337 46ba2cdda476
parent 32103 9a98023ac8db
child 32940 75be14993fda
--- 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')