diff tests/test-hgrc.t @ 48879:9987d14ad63f

py2: drop some more from __future__ statements These are no longer needed after dropping support for Python 2. Differential Revision: https://phab.mercurial-scm.org/D12258
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 20 Feb 2022 15:35:09 -0700
parents cce9e7d2fb92
children 6a3549a01c02
line wrap: on
line diff
--- a/tests/test-hgrc.t	Sun Feb 20 15:31:33 2022 -0700
+++ b/tests/test-hgrc.t	Sun Feb 20 15:35:09 2022 -0700
@@ -71,7 +71,7 @@
   config error at $TESTTMP/hgrc:2: unexpected leading whitespace:   x = y
   [255]
 
-  $ "$PYTHON" -c "from __future__ import print_function; print('[foo]\nbar = a\n b\n c \n  de\n fg \nbaz = bif cb \n')" \
+  $ "$PYTHON" -c "print('[foo]\nbar = a\n b\n c \n  de\n fg \nbaz = bif cb \n')" \
   > > $HGRC
   $ hg showconfig foo
   foo.bar=a\nb\nc\nde\nfg