##// END OF EJS Templates
tests: update test-patch to pass our import checker
Augie Fackler -
r33974:b1f75d8e default
parent child Browse files
Show More
@@ -1,8 +1,9 b''
1 $ cat > patchtool.py <<EOF
1 $ cat > patchtool.py <<EOF
2 > from __future__ import absolute_import, print_function
2 > import sys
3 > import sys
3 > print 'Using custom patch'
4 > print('Using custom patch')
4 > if '--binary' in sys.argv:
5 > if '--binary' in sys.argv:
5 > print '--binary found !'
6 > print('--binary found !')
6 > EOF
7 > EOF
7
8
8 $ echo "[ui]" >> $HGRCPATH
9 $ echo "[ui]" >> $HGRCPATH
General Comments 0
You need to be logged in to leave comments. Login now