Patchwork tests: remove unused creation of file and outdated text

login
register
mail settings
Submitter Manuel Jacob
Date June 12, 2020, 9:44 p.m.
Message ID <ed470eeaab16b2667092.1591998280@tmp>
Download mbox | patch
Permalink /patch/46496/
State Accepted
Headers show

Comments

Manuel Jacob - June 12, 2020, 9:44 p.m.
# HG changeset patch
# User Manuel Jacob <me@manueljacob.de>
# Date 1591998236 -7200
#      Fri Jun 12 23:43:56 2020 +0200
# Node ID ed470eeaab16b2667092fe87a43be37a4d4c253a
# Parent  61719b9658b156548634c216ffb2b9188266293b
# EXP-Topic tests-unused
tests: remove unused creation of file and outdated text

It was forgotten to remove this in fb0de0bcd297.
Yuya Nishihara - June 13, 2020, 3:26 a.m.
On Fri, 12 Jun 2020 23:44:40 +0200, Manuel Jacob wrote:
> # HG changeset patch
> # User Manuel Jacob <me@manueljacob.de>
> # Date 1591998236 -7200
> #      Fri Jun 12 23:43:56 2020 +0200
> # Node ID ed470eeaab16b2667092fe87a43be37a4d4c253a
> # Parent  61719b9658b156548634c216ffb2b9188266293b
> # EXP-Topic tests-unused
> tests: remove unused creation of file and outdated text

Queued, thanks.

Patch

diff --git a/tests/test-extension.t b/tests/test-extension.t
--- a/tests/test-extension.t
+++ b/tests/test-extension.t
@@ -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