Mercurial > hg-stable
changeset 33990:b1f75d8e887a
tests: update test-patch to pass our import checker
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 22 Aug 2017 16:59:02 -0400 |
parents | dcfa83652744 |
children | a1cd6eae2ad3 |
files | tests/test-patch.t |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-patch.t Tue Aug 22 16:58:57 2017 -0400 +++ b/tests/test-patch.t Tue Aug 22 16:59:02 2017 -0400 @@ -1,8 +1,9 @@ $ cat > patchtool.py <<EOF + > from __future__ import absolute_import, print_function > import sys - > print 'Using custom patch' + > print('Using custom patch') > if '--binary' in sys.argv: - > print '--binary found !' + > print('--binary found !') > EOF $ echo "[ui]" >> $HGRCPATH