# HG changeset patch # User Pulkit Goyal # Date 2018-09-04 14:57:49 # Node ID 8466c6075161f6ec1f5618ebe38f268098a8570c # Parent 16c27483f50fcb529aa0c444cd91e95ab0e5cfaa py3: use print as a function in tests/test-hgweb.t Differential Revision: https://phab.mercurial-scm.org/D4461 diff --git a/tests/test-hgweb.t b/tests/test-hgweb.t --- a/tests/test-hgweb.t +++ b/tests/test-hgweb.t @@ -329,7 +329,7 @@ stop and restart Test the access/error files are opened in append mode - $ $PYTHON -c "print len(open('access.log', 'rb').readlines()), 'log lines written'" + $ $PYTHON -c "from __future__ import print_function; print(len(open('access.log', 'rb').readlines()), 'log lines written')" 14 log lines written static file