Mercurial > hg-stable
diff tests/test-repair-strip.t @ 33746:27fb986e54d0
tests: fix simple heredoc print statements to work on Py3
There are a handful left that require some more care.
Differential Revision: https://phab.mercurial-scm.org/D293
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 15 Jun 2017 13:32:32 -0400 |
parents | 75be14993fda |
children | a6651f5e2c78 |
line wrap: on
line diff
--- a/tests/test-repair-strip.t Mon Jul 24 10:37:39 2017 -0400 +++ b/tests/test-repair-strip.t Thu Jun 15 13:32:32 2017 -0400 @@ -4,7 +4,7 @@ > import sys > for entry in sys.stdin.read().split('\n'): > if entry: - > print entry.split('\x00')[0] + > print(entry.split('\x00')[0]) > EOF $ echo "[extensions]" >> $HGRCPATH