Mercurial > hg
changeset 36288:217b08b1de28
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
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 18 Feb 2018 18:07:12 +0530 |
parents | 065445b44724 |
children | 257071fd3357 |
files | tests/test-walk.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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