##// END OF EJS Templates
tests: update test-relink to pass our import checker
Augie Fackler -
r33990:afb33e73 default
parent child Browse files
Show More
@@ -8,13 +8,15 b''
8 8 > }
9 9
10 10 $ cat > arelinked.py <<EOF
11 > import sys, os
11 > from __future__ import absolute_import, print_function
12 > import os
13 > import sys
12 14 > from mercurial import util
13 15 > path1, path2 = sys.argv[1:3]
14 16 > if util.samefile(path1, path2):
15 > print '%s == %s' % (path1, path2)
17 > print('%s == %s' % (path1, path2))
16 18 > else:
17 > print '%s != %s' % (path1, path2)
19 > print('%s != %s' % (path1, path2))
18 20 > EOF
19 21
20 22
General Comments 0
You need to be logged in to leave comments. Login now