tests: remove unused creation of file and outdated text
authorManuel Jacob <me@manueljacob.de>
Fri, 12 Jun 2020 23:43:56 +0200
changeset 44953 50005af3c7a8
parent 44952 a4438263b228
child 44960 78cafd48b9b2
tests: remove unused creation of file and outdated text It was forgotten to remove this in fb0de0bcd297.
tests/test-extension.t
--- a/tests/test-extension.t	Sat Jun 06 19:19:27 2020 +0800
+++ b/tests/test-extension.t	Fri Jun 12 23:43:56 2020 +0200
@@ -1852,17 +1852,6 @@
       GREPME make sure that this is in the help!
   $ cd ..
 
-Show deprecation warning for the use of cmdutil.command
-
-  $ cat > nonregistrar.py <<EOF
-  > from mercurial import cmdutil
-  > cmdtable = {}
-  > command = cmdutil.command(cmdtable)
-  > @command(b'foo', [], norepo=True)
-  > def foo(ui):
-  >     pass
-  > EOF
-
 Prohibit the use of unicode strings as the default value of options
 
   $ hg init $TESTTMP/opt-unicode-default