changeset 36420:34afe92e3719

py3: use '//' for integer divisions Differential Revision: https://phab.mercurial-scm.org/D2413
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 24 Feb 2018 01:22:15 +0530
parents 469c7e146c8f
children 3fe0507a4dcd
files tests/test-mq-missingfiles.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-mq-missingfiles.t	Sat Feb 24 01:21:22 2018 +0530
+++ b/tests/test-mq-missingfiles.t	Sat Feb 24 01:22:15 2018 +0530
@@ -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')