##// END OF EJS Templates
test-pathencode: more aggressively check for python < 2.6
Bryan O'Sullivan -
r17947:f945caa5 default
parent child Browse files
Show More
@@ -10,6 +10,9 b' from mercurial import store'
10 10 import binascii, itertools, math, os, random, sys, time
11 11 import collections
12 12
13 if sys.version_info[:2] < (2, 6):
14 sys.exit(0)
15
13 16 def hybridencode(path):
14 17 return store._hybridencode(path, True)
15 18
@@ -186,5 +189,5 b' def main():'
186 189 if runtests(rng, seed, count):
187 190 sys.exit(1)
188 191
189 if __name__ == '__main__' and sys.version_info[:2] >= (2, 6):
192 if __name__ == '__main__':
190 193 main()
General Comments 0
You need to be logged in to leave comments. Login now