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

login
register
mail settings
Submitter phabricator
Date Feb. 18, 2018, 2:17 p.m.
Message ID <c04c8160824b710c4164f4d12067602d@localhost.localdomain>
Download mbox | patch
Permalink /patch/28098/
State Not Applicable
Headers show

Comments

phabricator - Feb. 18, 2018, 2:17 p.m.
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




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

Patch

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