D2413: py3: use '//' for integer divisions
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Feb 24 10:43:10 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG34afe92e3719: py3: use '//' for integer divisions (authored by pulkit, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D2413?vs=6032&id=6037#toc
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2413?vs=6032&id=6037
REVISION DETAIL
https://phab.mercurial-scm.org/D2413
AFFECTED FILES
tests/test-mq-missingfiles.t
CHANGE DETAILS
diff --git a/tests/test-mq-missingfiles.t b/tests/test-mq-missingfiles.t
--- a/tests/test-mq-missingfiles.t
+++ b/tests/test-mq-missingfiles.t
@@ -10,7 +10,7 @@
> assert (len(args) % 2) == 0
>
> f = open(path, 'wb')
- > for i in range(len(args)/2):
+ > for i in range(len(args) // 2):
> count, s = args[2*i:2*i+2]
> count = int(count)
> s = s.decode('string_escape')
To: pulkit, #hg-reviewers, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list