py3: use range instead of xrange in tests/test-walk.t
xrange in not present in python 3.
Differential Revision: https://phab.mercurial-scm.org/D2326
--- a/tests/test-walk.t Sun Feb 18 17:43:12 2018 +0530
+++ b/tests/test-walk.t Sun Feb 18 18:07:12 2018 +0530
@@ -519,7 +519,7 @@
$ cd t
$ echo fennel > overflow.list
- $ $PYTHON -c "for i in xrange(20000 / 100): print 'x' * 100" >> overflow.list
+ $ $PYTHON -c "for i in range(20000 / 100): print 'x' * 100" >> overflow.list
$ echo fenugreek >> overflow.list
$ hg debugwalk 'listfile:overflow.list' 2>&1 | egrep -v '(^matcher: |^xxx)'
f fennel fennel exact