D2329: py3: use range instead of xrange in tests/test-issue4074.t

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sun Feb 18 09:17:36 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG57c671cf7a69: py3: use range instead of xrange in tests/test-issue4074.t (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2329?vs=5858&id=5874

REVISION DETAIL
  https://phab.mercurial-scm.org/D2329

AFFECTED FILES
  tests/test-issue4074.t

CHANGE DETAILS

diff --git a/tests/test-issue4074.t b/tests/test-issue4074.t
--- a/tests/test-issue4074.t
+++ b/tests/test-issue4074.t
@@ -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



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list