D3217: py3: use '//' for integer division in tests/test-mq-qimport.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed Apr 11 08:31:30 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd17cfb23017c: py3: use '//' for integer division in tests/test-mq-qimport.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3217?vs=7929&id=7969
REVISION DETAIL
https://phab.mercurial-scm.org/D3217
AFFECTED FILES
tests/test-mq-qimport.t
CHANGE DETAILS
diff --git a/tests/test-mq-qimport.t b/tests/test-mq-qimport.t
--- a/tests/test-mq-qimport.t
+++ b/tests/test-mq-qimport.t
@@ -7,7 +7,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
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list