py3: use range instead of xrange in tests/test-issue4074.t
xrange in not present on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D2329
--- a/tests/test-issue4074.t Sun Feb 18 18:18:24 2018 +0530
+++ b/tests/test-issue4074.t Sun Feb 18 18:19:10 2018 +0530
@@ -4,7 +4,7 @@
$ cat > s.py <<EOF
> import random
- > for x in xrange(100000):
+ > for x in range(100000):
> print
> if random.randint(0, 100) >= 50:
> x += 1