diff tests/test-hgweb.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 6fc57680cfd6
children 7e5be4a7cda7
line wrap: on
line diff
--- a/tests/test-hgweb.t	Sun Feb 20 15:31:33 2022 -0700
+++ b/tests/test-hgweb.t	Sun Feb 20 15:35:09 2022 -0700
@@ -329,7 +329,7 @@
 
 Test the access/error files are opened in append mode
 
-  $ "$PYTHON" -c "from __future__ import print_function; print(len(open('access.log', 'rb').readlines()), 'log lines written')"
+  $ "$PYTHON" -c "print(len(open('access.log', 'rb').readlines()), 'log lines written')"
   14 log lines written
 
 static file